function TestHelpTopicDeriver::getDerivativeDefinition

Same name in other branches
  1. 9 core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/Deriver/TestHelpTopicDeriver.php \Drupal\help_topics_test\Plugin\Deriver\TestHelpTopicDeriver::getDerivativeDefinition()
  2. 8.9.x core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/Deriver/TestHelpTopicDeriver.php \Drupal\help_topics_test\Plugin\Deriver\TestHelpTopicDeriver::getDerivativeDefinition()
  3. 10 core/modules/help/tests/modules/help_topics_test/src/Plugin/Deriver/TestHelpTopicDeriver.php \Drupal\help_topics_test\Plugin\Deriver\TestHelpTopicDeriver::getDerivativeDefinition()

Overrides DeriverInterface::getDerivativeDefinition

File

core/modules/help/tests/modules/help_topics_test/src/Plugin/Deriver/TestHelpTopicDeriver.php, line 37

Class

TestHelpTopicDeriver
A test discovery deriver for fake help topics.

Namespace

Drupal\help_topics_test\Plugin\Deriver

Code

public function getDerivativeDefinition($derivative_id, $base_plugin_definition) {
    return $base_plugin_definition;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.