public static function PluginHelper::isConfigurable in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Plugin/PluginHelper.php \Drupal\Component\Plugin\PluginHelper::isConfigurable()
- 9 core/lib/Drupal/Component/Plugin/PluginHelper.php \Drupal\Component\Plugin\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.
5 calls to PluginHelper::isConfigurable()
- Action::isConfigurable in core/
modules/ system/ src/ Entity/ Action.php - Returns whether or not this action is configurable.
- DefaultLazyPluginCollection::getConfiguration in core/
lib/ Drupal/ Core/ Plugin/ DefaultLazyPluginCollection.php - DefaultLazyPluginCollection::setInstanceConfiguration in core/
lib/ Drupal/ Core/ Plugin/ DefaultLazyPluginCollection.php - Updates the configuration for a plugin instance.
- DefaultSingleLazyPluginCollection::getConfiguration in core/
lib/ Drupal/ Core/ Plugin/ DefaultSingleLazyPluginCollection.php - DefaultSingleLazyPluginCollection::setConfiguration in core/
lib/ Drupal/ Core/ Plugin/ DefaultSingleLazyPluginCollection.php
File
- core/
lib/ Drupal/ Component/ Plugin/ PluginHelper.php, line 21
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;
}