function 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;
}