abstract class PluginBase in Drupal 10
Same name in this branch
- 10 core/lib/Drupal/Core/Plugin/PluginBase.php \Drupal\Core\Plugin\PluginBase
- 10 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase
- 10 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/PluginBase.php \Drupal\Core\Plugin\PluginBase
- 9 core/lib/Drupal/Core/Plugin/PluginBase.php \Drupal\Core\Plugin\PluginBase
Base class for plugins supporting metadata inspection and translation.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
Expanded class hierarchy of PluginBase
Related topics
37 files declare their use of PluginBase
- ActionBase.php in core/
lib/ Drupal/ Core/ Action/ ActionBase.php - BlockBase.php in core/
lib/ Drupal/ Core/ Block/ BlockBase.php - Breakpoint.php in core/
modules/ breakpoint/ src/ Breakpoint.php - Broken.php in core/
lib/ Drupal/ Core/ Block/ Plugin/ Block/ Broken.php - CKEditor5PluginDefault.php in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginDefault.php
File
- core/
lib/ Drupal/ Core/ Plugin/ PluginBase.php, line 15
Namespace
Drupal\Core\PluginView source
abstract class PluginBase extends ComponentPluginBase {
use StringTranslationTrait;
use DependencySerializationTrait;
use MessengerTrait;
}