CustomDirectoryExample2.php

Same filename in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample2.php
  2. 8.9.x core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample2.php
  3. 11.x core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample2.php

Namespace

Drupal\plugin_test

File

core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample2.php

View source
<?php

namespace Drupal\plugin_test;


/**
 * Provides a test plugin within a custom directory.
 *
 * @Plugin(
 *   id = "custom_example_2",
 *   custom = "Meghan"
 * )
 */
class CustomDirectoryExample2 {

}

Classes

Title Deprecated Summary
CustomDirectoryExample2 Provides a test plugin within a custom directory.

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