You are here

public function HeartbeatBlockDeriver::getDerivativeDefinitions in Heartbeat 8

Gets the definition of all derivatives of a base plugin.

Parameters

array $base_plugin_definition: The definition array of the base plugin.

Return value

array An array of full derivative definitions keyed on derivative id.

Overrides DeriverBase::getDerivativeDefinitions

See also

getDerivativeDefinition()

File

src/Plugin/Derivative/HeartbeatBlockDeriver.php, line 82

Class

HeartbeatBlockDeriver
Provides a block plugin definitions for Heartbeat

Namespace

Drupal\heartbeat\Plugin\Derivative

Code

public function getDerivativeDefinitions($base_plugin_definition) {
  $def2 = parent::getDerivativeDefinitions($base_plugin_definition);
  return $base_plugin_definition;
}