ExtendingNonInstalledClass.php

Same filename in this branch
  1. 11.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/ExtendingNonInstalledClass.php
Same filename and directory in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/ExtendingNonInstalledClass.php
  2. 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/ExtendingNonInstalledClass.php
  3. 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/ExtendingNonInstalledClass.php
  4. 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/ExtendingNonInstalledClass.php

Namespace

Drupal\plugin_test\Plugin\plugin_test\custom_annotation

File

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

View source
<?php

namespace Drupal\plugin_test\Plugin\plugin_test\custom_annotation;

use Drupal\Core\Security\Attribute\TrustedCallback;
use Drupal\non_installed_module\NonExisting;

/**
 * This class does not have a plugin attribute or plugin annotation on purpose.
 */
class ExtendingNonInstalledClass extends NonExisting {
    public function testMethod() {
    }

}

Classes

Title Deprecated Summary
ExtendingNonInstalledClass This class does not have a plugin attribute or plugin annotation on purpose.

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