function plugin_test_test_plugin_info

Same name and namespace in other branches
  1. 10 core/modules/system/tests/modules/plugin_test/plugin_test.module \plugin_test_test_plugin_info()

Implements hook_test_plugin_info().

File

core/modules/system/tests/modules/plugin_test/plugin_test.module, line 13

Code

function plugin_test_test_plugin_info() {
  return [
    'apple' => [
      'id' => 'apple',
      'class' => Apple::class,
    ],
  ];
}

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