Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityActionDeriverBase.php

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

Code

protected abstract function isApplicable(EntityTypeInterface $entity_type);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal