findPristinePageFields() public méthode

Find all pristine page fields that match this key
public findPristinePageFields ( string $key ) : Collection
$key string
Résultat Collection
Exemple #1
0
 /**
  * Removes the pristine page fields
  * for this global field. We only
  * do this when we *first* create
  * the global field
  *
  * @param  DvsGlobalField $global
  * @return void
  */
 protected function removePristinePageFields($key)
 {
     $pristine = $this->FieldsRepository->findPristinePageFields($key);
     foreach ($pristine as $field) {
         $field->delete();
     }
 }