Devise\Pages\Fields\FieldManager::removePristinePageFields PHP Méthode

removePristinePageFields() protected méthode

Removes the pristine page fields for this global field. We only do this when we *first* create the global field
protected removePristinePageFields ( $key ) : void
Résultat void
    protected function removePristinePageFields($key)
    {
        $pristine = $this->FieldsRepository->findPristinePageFields($key);
        foreach ($pristine as $field) {
            $field->delete();
        }
    }