comparison core/modules/system/src/Entity/Action.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
1 <?php 1 <?php
2 2
3 namespace Drupal\system\Entity; 3 namespace Drupal\system\Entity;
4 4
5 use Drupal\Component\Plugin\PluginHelper;
5 use Drupal\Core\Config\Entity\ConfigEntityBase; 6 use Drupal\Core\Config\Entity\ConfigEntityBase;
6 use Drupal\Core\Config\Entity\ConfigEntityInterface; 7 use Drupal\Core\Config\Entity\ConfigEntityInterface;
7 use Drupal\Core\Entity\EntityWithPluginCollectionInterface; 8 use Drupal\Core\Entity\EntityWithPluginCollectionInterface;
8 use Drupal\system\ActionConfigEntityInterface; 9 use Drupal\system\ActionConfigEntityInterface;
9 use Drupal\Core\Action\ActionPluginCollection; 10 use Drupal\Core\Action\ActionPluginCollection;
10 use Drupal\Component\Plugin\ConfigurablePluginInterface;
11 11
12 /** 12 /**
13 * Defines the configured action entity. 13 * Defines the configured action entity.
14 * 14 *
15 * @ConfigEntityType( 15 * @ConfigEntityType(
131 131
132 /** 132 /**
133 * {@inheritdoc} 133 * {@inheritdoc}
134 */ 134 */
135 public function isConfigurable() { 135 public function isConfigurable() {
136 return $this->getPlugin() instanceof ConfigurablePluginInterface; 136 return PluginHelper::isConfigurable($this->getPlugin());
137 } 137 }
138 138
139 /** 139 /**
140 * {@inheritdoc} 140 * {@inheritdoc}
141 */ 141 */