You are here

public function PluginBase::isConfigurable in Drupal 9

Same name and namespace in other branches
  1. 8 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 102

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

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