function EntityDeleteActionDeriver::isApplicable
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php \Drupal\Core\Action\Plugin\Action\Derivative\EntityDeleteActionDeriver::isApplicable()
- 10 core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php \Drupal\Core\Action\Plugin\Action\Derivative\EntityDeleteActionDeriver::isApplicable()
- 11.x core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php \Drupal\Core\Action\Plugin\Action\Derivative\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\DerivativeCode
protected function isApplicable(EntityTypeInterface $entity_type) {
return $entity_type->hasLinkTemplate('delete-multiple-form');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.