You are here

protected function ConfigActionsService::getSourceKey in Config Actions 8

Return the cache key for the given source and type.

Parameters

$source:

string $type:

string $base:

Return value

string

1 call to ConfigActionsService::getSourceKey()
ConfigActionsService::getSourcePlugin in src/ConfigActionsService.php
Return an instance of a source plugin.

File

src/ConfigActionsService.php, line 142

Class

ConfigActionsService
Base class for config_actions plugins.

Namespace

Drupal\config_actions

Code

protected function getSourceKey($source, $type = '', $base = '') {
  $source = is_string($source) ? $source : md5(serialize($source));
  return $base . ':' . $type . ':' . $source;
}