public function PluginType::getPluginConfigurationSchemaId in Plugin 8.2
Gets the ID of the configuration schema for a plugin ID.
Parameters
string $plugin_id: The ID of the plugin for whose configuration to get the schema ID.
Return value
string
Overrides ConfigurablePluginTypeInterface::getPluginConfigurationSchemaId
1 call to PluginType::getPluginConfigurationSchemaId()
- PluginType::__construct in src/
PluginType/ PluginType.php - Constructs a new instance.
File
- src/
PluginType/ PluginType.php, line 242
Class
- PluginType
- Provides a plugin type.
Namespace
Drupal\plugin\PluginTypeCode
public function getPluginConfigurationSchemaId($plugin_id) {
return str_replace([
'[plugin_type_id]',
'[plugin_id]',
], [
$this->id,
$plugin_id,
], $this->configurationSchemaId);
}