| PluginManagerBase |
class |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Base class for plugin managers. |
| PluginManagerBase.php |
file |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
|
| PluginManagerBase::$discovery |
property |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
The object that discovers plugins managed by this manager. |
| PluginManagerBase::$factory |
property |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
The object that instantiates plugins managed by this manager. |
| PluginManagerBase::$mapper |
property |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
The preconfigured plugin instance for a particular runtime condition. |
| PluginManagerBase::createInstance |
function |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Creates a plugin instance based on the provided ID and configuration. |
| PluginManagerBase::getDefinition |
function |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Gets a specific plugin definition. |
| PluginManagerBase::getDefinitions |
function |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Gets the definition of all plugins for this type. |
| PluginManagerBase::getDiscovery |
function |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Gets the plugin discovery. |
| PluginManagerBase::getFactory |
function |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Gets the plugin factory. |
| PluginManagerBase::getFallbackPluginId |
function |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Gets a fallback id for a missing plugin. |
| PluginManagerBase::getInstance |
function |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Gets or creates a plugin instance that satisfies the given options. |
| PluginManagerBase::handlePluginNotFound |
function |
core/lib/Drupal/Component/Plugin/PluginManagerBase.php |
Allows plugin managers to specify custom behavior if a plugin is not found. |
| PluginManagerBaseTest |
class |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
Tests Drupal\Component\Plugin\PluginManagerBase. |
| PluginManagerBaseTest.php |
file |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
|
| PluginManagerBaseTest::createInstanceCallback |
function |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
A callback method for mocking FactoryInterface objects. |
| PluginManagerBaseTest::getMockFactoryInterface |
function |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
Generates a mocked FactoryInterface object with known properties. |
| PluginManagerBaseTest::testCreateInstance |
function |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
Tests createInstance() with no fallback methods. |
| PluginManagerBaseTest::testCreateInstanceFallback |
function |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
Tests createInstance() with a fallback method. |
| PluginManagerBaseTest::testGetInstance |
function |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
Tests get instance. |
| PluginManagerBaseTest::testGetInstanceWithoutMapperShouldThrowException |
function |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
Tests get instance without mapper should throw exception. |
| PluginManagerCacheClearer |
class |
core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php |
Helps test module uninstall. |
| PluginManagerCacheClearer.php |
file |
core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php |
|
| PluginManagerCacheClearer::$optionalService |
property |
core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php |
An optional service dependency. |
| PluginManagerCacheClearer::$state |
property |
core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php |
|
| PluginManagerCacheClearer::clearCachedDefinitions |
function |
core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php |
Tests call to CachedDiscoveryInterface::clearCachedDefinitions(). |
| PluginManagerCacheClearer::__construct |
function |
core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php |
PluginManagerCacheClearer constructor. |
| PluginManagerDependentValidatorTrait |
trait |
core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php |
Common functionality for many CKEditor 5 validation constraints. |
| PluginManagerDependentValidatorTrait.php |
file |
core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php |
|
| PluginManagerDependentValidatorTrait::$pluginManager |
property |
core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php |
The CKEditor 5 plugin manager. |
| PluginManagerDependentValidatorTrait::create |
function |
core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php |
|
| PluginManagerDependentValidatorTrait::getEnableableDisabledPlugins |
function |
core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php |
Gets all disabled CKEditor 5 plugin definitions the user can enable. |
| PluginManagerDependentValidatorTrait::getOtherEnabledPlugins |
function |
core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php |
Gets all other enabled CKEditor 5 plugin definitions. |
| PluginManagerDependentValidatorTrait::__construct |
function |
core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php |
Constructs a CKEditor5ConstraintValidatorTrait object. |
| PluginManagerInterface |
interface |
core/lib/Drupal/Component/Plugin/PluginManagerInterface.php |
Interface implemented by plugin managers. |
| PluginManagerInterface.php |
file |
core/lib/Drupal/Component/Plugin/PluginManagerInterface.php |
|
| PluginManagerPass |
class |
core/lib/Drupal/Core/Plugin/PluginManagerPass.php |
Registers plugin managers to the plugin.cache_clearer service. |
| PluginManagerPass.php |
file |
core/lib/Drupal/Core/Plugin/PluginManagerPass.php |
|
| PluginManagerPass::process |
function |
core/lib/Drupal/Core/Plugin/PluginManagerPass.php |
|
| PluginNotFoundException |
class |
core/lib/Drupal/Component/Plugin/Exception/PluginNotFoundException.php |
Plugin exception class to be thrown when a plugin ID could not be found. |
| PluginNotFoundException.php |
file |
core/lib/Drupal/Component/Plugin/Exception/PluginNotFoundException.php |
|
| PluginNotFoundException::__construct |
function |
core/lib/Drupal/Component/Plugin/Exception/PluginNotFoundException.php |
Construct a PluginNotFoundException exception. |
| PluginSettingsBase |
class |
core/lib/Drupal/Core/Field/PluginSettingsBase.php |
Base class for the Field API plugins. |
| PluginSettingsBase.php |
file |
core/lib/Drupal/Core/Field/PluginSettingsBase.php |
|
| PluginSettingsBase::$defaultSettingsMerged |
property |
core/lib/Drupal/Core/Field/PluginSettingsBase.php |
Whether default settings have been merged into the current $settings. |
| PluginSettingsBase::$settings |
property |
core/lib/Drupal/Core/Field/PluginSettingsBase.php |
The plugin settings. |
| PluginSettingsBase::$thirdPartySettings |
property |
core/lib/Drupal/Core/Field/PluginSettingsBase.php |
The plugin settings injected by third party modules. |
| PluginSettingsBase::calculateDependencies |
function |
core/lib/Drupal/Core/Field/PluginSettingsBase.php |
Calculates dependencies for the configured plugin. |
| PluginSettingsBase::defaultSettings |
function |
core/lib/Drupal/Core/Field/PluginSettingsBase.php |
Defines the default settings for this plugin. |
| PluginSettingsBase::getSetting |
function |
core/lib/Drupal/Core/Field/PluginSettingsBase.php |
Returns the value of a setting, or its default value if absent. |