Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Action/ActionBase.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line 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); } } }