function PluginHelper::isConfigurable
Determines if a plugin is configurable.
Parameters
mixed $plugin: The plugin to check.
Return value
bool A boolean indicating whether the plugin is configurable.
1 call to PluginHelper::isConfigurable()
- PluginHelperLegacyTest::testPluginHelperDeprecation in core/
tests/ Drupal/ Tests/ Component/ Plugin/ PluginHelperLegacyTest.php  
File
- 
              core/
lib/ Drupal/ Component/ Plugin/ PluginHelper.php, line 26  
Class
- PluginHelper
 - A helper class to determine if a plugin is configurable.
 
Namespace
Drupal\Component\PluginCode
public static function isConfigurable($plugin) {
  return $plugin instanceof ConfigurableInterface;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.