You are here

abstract protected function EntityActionDeriverBase::isApplicable in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php \Drupal\Core\Action\Plugin\Action\Derivative\EntityActionDeriverBase::isApplicable()

Indicates whether the deriver can be used for the provided entity type.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.

Return value

bool TRUE if the entity type can be used, FALSE otherwise.

1 call to EntityActionDeriverBase::isApplicable()
EntityActionDeriverBase::getApplicableEntityTypes in core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php
Gets a list of applicable entity types.
3 methods override EntityActionDeriverBase::isApplicable()
EntityChangedActionDeriver::isApplicable in core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityChangedActionDeriver.php
Indicates whether the deriver can be used for the provided entity type.
EntityDeleteActionDeriver::isApplicable in core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php
Indicates whether the deriver can be used for the provided entity type.
EntityPublishedActionDeriver::isApplicable in core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityPublishedActionDeriver.php
Indicates whether the deriver can be used for the provided entity type.

File

core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php, line 59

Class

EntityActionDeriverBase
Provides a base action for each entity type with specific interfaces.

Namespace

Drupal\Core\Action\Plugin\Action\Derivative

Code

protected abstract function isApplicable(EntityTypeInterface $entity_type);