You are here

abstract public function ConfigActionsSourceBase::detect in Config Actions 8

Determine if $source is valid for the specific plugin.

Parameters

mixed $source:

Return value

bool TRUE if $source is a valid reference for this plugin.

Overrides ConfigActionsSourceInterface::detect

5 methods override ConfigActionsSourceBase::detect()
ConfigActionsArray::detect in src/Plugin/ConfigActionsSource/ConfigActionsArray.php
Determine if $source is valid for the specific plugin.
ConfigActionsFile::detect in src/Plugin/ConfigActionsSource/ConfigActionsFile.php
Determine if $source is valid for the specific plugin.
ConfigActionsId::detect in src/Plugin/ConfigActionsSource/ConfigActionsId.php
Determine if $source is valid for the specific plugin.
ConfigActionsList::detect in src/Plugin/ConfigActionsSource/ConfigActionsList.php
Determine if $source is valid for the specific plugin.
ConfigActionsTemplate::detect in src/Plugin/ConfigActionsSource/ConfigActionsTemplate.php
Determine if $source is valid for the specific plugin.

File

src/ConfigActionsSourceBase.php, line 69

Class

ConfigActionsSourceBase
Base class for config_actions plugins.

Namespace

Drupal\config_actions

Code

public abstract function detect($source);