PluginBase.php in Zircon Profile 8
Same filename in this branch
Same filename and directory in other branches
Contains \Drupal\Core\Plugin\PluginBase.
Namespace
Drupal\Core\PluginFile
core/lib/Drupal/Core/Plugin/PluginBase.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\Plugin\PluginBase.
*/
namespace Drupal\Core\Plugin;
use Drupal\Component\Plugin\PluginBase as ComponentPluginBase;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
/**
* Base class for plugins supporting metadata inspection and translation.
*
* @ingroup plugin_api
*/
abstract class PluginBase extends ComponentPluginBase {
use StringTranslationTrait;
use DependencySerializationTrait;
}
Classes
Name | Description |
---|---|
PluginBase | Base class for plugins supporting metadata inspection and translation. |