function PluginBase::isConfigurable

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::isConfigurable()
  2. 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::isConfigurable()
  3. 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.