public static FieldItemBase::onDependencyRemoval(FieldDefinitionInterface $field_definition, array $dependencies)
Informs the plugin that a dependency of the field will be deleted.
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition.
array $dependencies: An array of dependencies that will be deleted keyed by dependency type. Dependency types are, for example, entity, module and theme.
bool TRUE if the field definition has been changed as a result, FALSE if not.
Overrides FieldItemInterface::onDependencyRemoval
\Drupal\Core\Config\ConfigEntityInterface::onDependencyRemoval()
public static function onDependencyRemoval(FieldDefinitionInterface $field_definition, array $dependencies) { return FALSE; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FieldItemBase.php/function/FieldItemBase::onDependencyRemoval/8.1.x