function PluginBase::isConfigurable
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::isConfigurable()
- 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::isConfigurable()
- 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.
Deprecated
in drupal:11.1.0 and is removed from drupal:12.0.0. Use instanceof to check if the plugin implements \Drupal\Component\Plugin\ConfigurableInterface instead.
See also
https://www.drupal.org/node/3198285
File
-
core/
lib/ Drupal/ Component/ Plugin/ PluginBase.php, line 108
Class
- PluginBase
- Base class for plugins wishing to support metadata inspection.
Namespace
Drupal\Component\PluginCode
public function isConfigurable() {
@trigger_error(__CLASS__ . "::" . __FUNCTION__ . " is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. Use instanceof to check if the plugin implements \\Drupal\\Component\\Plugin\\ConfigurableInterface instead. See https://www.drupal.org/node/3198285", E_USER_DEPRECATED);
return $this instanceof ConfigurableInterface;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.