You are here

public function ServiceInterface::isPluginEnabled in Purge 8.3

Find out whether the given plugin_id is enabled.

Parameters

string $plugin_id: The plugin_id of the plugin you want to check for.

Return value

bool Whether the plugin is enabled.

1 method overrides ServiceInterface::isPluginEnabled()
ServiceBase::isPluginEnabled in src/ServiceBase.php
Find out whether the given plugin_id is enabled.

File

src/ServiceInterface.php, line 40

Class

ServiceInterface
Describes a generic service for all DIC-registered service classes by Purge.

Namespace

Drupal\purge

Code

public function isPluginEnabled($plugin_id);