public function ServiceBase::getPluginsEnabled in Purge 8.3
Retrieve the configured plugin_ids that the service will use.
Return value
string[] Array with the plugin_ids of the enabled plugins.
Overrides ServiceInterface::getPluginsEnabled
1 call to ServiceBase::getPluginsEnabled()
- ServiceBase::isPluginEnabled in src/
ServiceBase.php - Find out whether the given plugin_id is enabled.
6 methods override ServiceBase::getPluginsEnabled()
- DiagnosticsService::getPluginsEnabled in src/
Plugin/ Purge/ DiagnosticCheck/ DiagnosticsService.php - Retrieve the configured plugin_ids that the service will use.
- ProcessorsService::getPluginsEnabled in src/
Plugin/ Purge/ Processor/ ProcessorsService.php - Retrieve the configured plugin_ids that the service will use.
- PurgersService::getPluginsEnabled in src/
Plugin/ Purge/ Purger/ PurgersService.php - QueuersService::getPluginsEnabled in src/
Plugin/ Purge/ Queuer/ QueuersService.php - Retrieve the configured plugin_ids that the service will use.
- QueueService::getPluginsEnabled in src/
Plugin/ Purge/ Queue/ QueueService.php - Retrieve the configured plugin_ids that the service will use.
File
- src/
ServiceBase.php, line 46
Class
- ServiceBase
- Provides a generic service for all DIC-registered service classes by Purge.
Namespace
Drupal\purgeCode
public function getPluginsEnabled() {
if (is_null($this->pluginsEnabled)) {
$this->pluginsEnabled = array_keys($this
->getPlugins());
}
return $this->pluginsEnabled;
}