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

Breadcrumb

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

function EntityDeleteActionDeriver::isApplicable

Overrides EntityActionDeriverBase::isApplicable

File

core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php, line 36

Class

EntityDeleteActionDeriver
Provides an action deriver that finds entity types with delete form.

Namespace

Drupal\Core\Action\Plugin\Action\Derivative

Code

protected function isApplicable(EntityTypeInterface $entity_type) {
    return $entity_type->hasLinkTemplate('delete-multiple-form');
}

API Navigation

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