You are here

public function ConfigActionsTemplate::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/ConfigActionsTemplate.php, line 86

Class

ConfigActionsTemplate
Plugin for config source from files.

Namespace

Drupal\config_actions\Plugin\ConfigActionsSource

Code

public function detect($source) {

  // No auto-detection for templates
  return FALSE;
}