You are here

public function ConfigActionsList::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 ConfigActionsSourceBase::detect

File

src/Plugin/ConfigActionsSource/ConfigActionsList.php, line 31

Class

ConfigActionsList
Plugin for handling a list of source locations.

Namespace

Drupal\config_actions\Plugin\ConfigActionsSource

Code

public function detect($source) {
  return $this
    ->isSequential($source);
}