Example2.php

Same filename in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php
  2. 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php
  3. 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php

Namespace

Drupal\plugin_test\Plugin\plugin_test\custom_annotation

File

core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/Example2.php

View source
<?php

declare (strict_types=1);
namespace Drupal\plugin_test\Plugin\plugin_test\custom_annotation;


/**
 * Provides a test plugin with a custom annotation.
 *
 * @PluginExample(
 *   id = "example_2",
 *   custom = "Paul"
 * )
 */
class Example2 {

}

Classes

Title Deprecated Summary
Example2 Provides a test plugin with a custom annotation.

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