class EntityChangedActionDeriver
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityChangedActionDeriver.php \Drupal\Core\Action\Plugin\Action\Derivative\EntityChangedActionDeriver
Provides an action deriver that finds entity types of EntityChangedInterface.
Hierarchy
- class \Drupal\Component\Plugin\Derivative\DeriverBase extends \Drupal\Component\Plugin\Derivative\DeriverInterface
- class \Drupal\Core\Action\Plugin\Action\Derivative\EntityActionDeriverBase extends \Drupal\Core\Plugin\Discovery\ContainerDeriverInterface uses \Drupal\Core\StringTranslation\StringTranslationTrait implements \Drupal\Component\Plugin\Derivative\DeriverBase
- class \Drupal\Core\Action\Plugin\Action\Derivative\EntityChangedActionDeriver implements \Drupal\Core\Action\Plugin\Action\Derivative\EntityActionDeriverBase
- class \Drupal\Core\Action\Plugin\Action\Derivative\EntityActionDeriverBase extends \Drupal\Core\Plugin\Discovery\ContainerDeriverInterface uses \Drupal\Core\StringTranslation\StringTranslationTrait implements \Drupal\Component\Plugin\Derivative\DeriverBase
Expanded class hierarchy of EntityChangedActionDeriver
See also
\Drupal\Core\Action\Plugin\Action\SaveAction
1 file declares its use of EntityChangedActionDeriver
- SaveActionTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Action/ SaveActionTest.php
File
-
core/
lib/ Drupal/ Core/ Action/ Plugin/ Action/ Derivative/ EntityChangedActionDeriver.php, line 13
Namespace
Drupal\Core\Action\Plugin\Action\DerivativeView source
class EntityChangedActionDeriver extends EntityActionDeriverBase {
/**
* {@inheritdoc}
*/
protected function isApplicable(EntityTypeInterface $entity_type) {
return $entity_type->entityClassImplements(EntityChangedInterface::class);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.