diff 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
line wrap: on
line diff
--- a/core/modules/system/src/Entity/Action.php	Thu Feb 28 13:21:36 2019 +0000
+++ b/core/modules/system/src/Entity/Action.php	Thu May 09 15:33:08 2019 +0100
@@ -2,12 +2,12 @@
 
 namespace Drupal\system\Entity;
 
+use Drupal\Component\Plugin\PluginHelper;
 use Drupal\Core\Config\Entity\ConfigEntityBase;
 use Drupal\Core\Config\Entity\ConfigEntityInterface;
 use Drupal\Core\Entity\EntityWithPluginCollectionInterface;
 use Drupal\system\ActionConfigEntityInterface;
 use Drupal\Core\Action\ActionPluginCollection;
-use Drupal\Component\Plugin\ConfigurablePluginInterface;
 
 /**
  * Defines the configured action entity.
@@ -133,7 +133,7 @@
    * {@inheritdoc}
    */
   public function isConfigurable() {
-    return $this->getPlugin() instanceof ConfigurablePluginInterface;
+    return PluginHelper::isConfigurable($this->getPlugin());
   }
 
   /**