function 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\DerivativeCode
abstract protected function isApplicable(EntityTypeInterface $entity_type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.