interface DependentWithRemovalPluginInterface in Feeds 8.3
Provides an interface for a plugin that has dependencies that can be removed.
Hierarchy
- interface \Drupal\feeds\Plugin\DependentWithRemovalPluginInterface
Expanded class hierarchy of DependentWithRemovalPluginInterface
All classes that implement DependentWithRemovalPluginInterface
2 files declare their use of DependentWithRemovalPluginInterface
- FeedType.php in src/
Entity/ FeedType.php - TargetInterface.php in src/
Plugin/ Type/ Target/ TargetInterface.php
File
- src/
Plugin/ DependentWithRemovalPluginInterface.php, line 10
Namespace
Drupal\feeds\PluginView source
interface DependentWithRemovalPluginInterface {
/**
* Allows a plugin to define whether it should be removed.
*
* If this method returns TRUE then the plugin should be removed.
*
* @param array $dependencies
* An array of dependencies that will be deleted, keyed by dependency type.
* Dependency types are, for example, entity, module and theme.
*
* @return bool
* TRUE if the plugin instance should be removed.
*
* @see \Drupal\Core\Config\Entity\ConfigDependencyManager
* @see \Drupal\Core\Config\ConfigEntityBase::preDelete()
* @see \Drupal\Core\Config\ConfigManager::uninstall()
* @see \Drupal\Core\Entity\EntityDisplayBase::onDependencyRemoval()
*/
public function onDependencyRemoval(array $dependencies);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DependentWithRemovalPluginInterface:: |
public | function | Allows a plugin to define whether it should be removed. | 1 |