You are here

protected function DynamicField::getKey in Display Suite 8.2

Same name and namespace in other branches
  1. 8.4 src/Plugin/Derivative/DynamicField.php \Drupal\ds\Plugin\Derivative\DynamicField::getKey()
  2. 8.3 src/Plugin/Derivative/DynamicField.php \Drupal\ds\Plugin\Derivative\DynamicField::getKey()
1 call to DynamicField::getKey()
DynamicField::getDerivativeDefinitions in src/Plugin/Derivative/DynamicField.php
Gets the definition of all derivatives of a base plugin.

File

src/Plugin/Derivative/DynamicField.php, line 56

Class

DynamicField
Retrieves dynamic field plugin definitions.

Namespace

Drupal\ds\Plugin\Derivative

Code

protected function getKey($entity_type, $field) {
  return $entity_type . '-' . $field['id'];
}