ActionBase.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Core\ActionFile
core/lib/Drupal/Core/Action/ActionBase.phpView source
<?php
namespace Drupal\Core\Action;
use Drupal\Core\Plugin\PluginBase;
/**
* Provides a base implementation for an Action plugin.
*
* @see \Drupal\Core\Annotation\Action
* @see \Drupal\Core\Action\ActionManager
* @see \Drupal\Core\Action\ActionInterface
* @see plugin_api
*/
abstract class ActionBase extends PluginBase implements ActionInterface {
/**
* {@inheritdoc}
*/
public function executeMultiple(array $entities) {
foreach ($entities as $entity) {
$this
->execute($entity);
}
}
}
Classes
Name | Description |
---|---|
ActionBase | Provides a base implementation for an Action plugin. |