function Test::getPluginDefinition
Same name in other branches
- 9 core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php \Drupal\media_test_source\Plugin\media\Source\Test::getPluginDefinition()
- 8.9.x core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php \Drupal\media_test_source\Plugin\media\Source\Test::getPluginDefinition()
- 10 core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php \Drupal\media_test_source\Plugin\media\Source\Test::getPluginDefinition()
Overrides PluginInspectionInterface::getPluginDefinition
File
-
core/
modules/ media/ tests/ modules/ media_test_source/ src/ Plugin/ media/ Source/ Test.php, line 60
Class
- Test
- Provides test media source.
Namespace
Drupal\media_test_source\Plugin\media\SourceCode
public function getPluginDefinition() {
return NestedArray::mergeDeep(parent::getPluginDefinition(), \Drupal::state()->get('media_source_test_definition', []));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.