You are here

public function PluginBase::isConfigurable in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::isConfigurable()
  2. 10 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::isConfigurable()

Determines if the plugin is configurable.

Return value

bool A boolean indicating whether the plugin is configurable.

File

core/lib/Drupal/Component/Plugin/PluginBase.php, line 106

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

public function isConfigurable() {
  return $this instanceof ConfigurableInterface || $this instanceof ConfigurablePluginInterface;
}