public function WrapperTarget::onDependencyRemoval in Feeds Paragraphs 8
Allows a plugin to define whether it should be removed.
If this method returns TRUE then the plugin should be removed.
Parameters
array $dependencies: An array of dependencies that will be deleted, keyed by dependency type. Dependency types are, for example, entity, module and theme.
Return value
bool TRUE if the plugin instance should be removed.
Overrides FieldTargetBase::onDependencyRemoval
See also
\Drupal\Core\Config\Entity\ConfigDependencyManager
\Drupal\Core\Config\ConfigEntityBase::preDelete()
\Drupal\Core\Config\ConfigManager::uninstall()
\Drupal\Core\Entity\EntityDisplayBase::onDependencyRemoval()
File
- src/
Feeds/ Target/ WrapperTarget.php, line 344
Class
- WrapperTarget
- Defines a wrapper target around a paragraph bundle's target field.
Namespace
Drupal\feeds_para_mapper\Feeds\TargetCode
public function onDependencyRemoval(array $dependencies) {
return parent::onDependencyRemoval($dependencies);
}