class EntityChangedActionDeriver

Same name and namespace in other branches
  1. 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

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\Derivative
View 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.