Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 10.3.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
DateTimeInterface interface core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Interface for dates, optionally including a time.
DateTimeInterface.php file core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php
DateTimeInterface::getDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Returns the date time object.
DateTimeInterface::setDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Sets the date time object.
DateTimeIso8601Normalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php The interface or class that this Normalizer supports.
DateTimeItemInterface interface core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Interface definition for Datetime items.
DateTimeItemInterface.php file core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php
DateTimeItemInterface::DATETIME_STORAGE_FORMAT constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the format that date and time should be stored in.
DateTimeItemInterface::DATE_STORAGE_FORMAT constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the format that dates should be stored in.
DateTimeItemInterface::STORAGE_TIMEZONE constant core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php Defines the timezone that dates should be stored in.
DateTimeNormalizer::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/DateTimeNormalizer.php The interface or class that this Normalizer supports.
DefaultFactory::$interface property core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php Defines an interface each plugin should implement.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultLazyPluginCollectionTest::testConfigurableInterface function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php Tests that plugin methods are correctly attached to interfaces.
DefaultPluginManager::$pluginInterface property core/lib/Drupal/Core/Plugin/DefaultPluginManager.php The interface each plugin should implement.
DefaultPluginManagerTest::testCreateInstanceWithInvalidInterfaces function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins without the proper interface.
DefaultPluginManagerTest::testCreateInstanceWithJustValidInterfaces function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins with the proper interface.
DefaultPluginManagerTest::testGetDefinitionsWithoutRequiredInterface function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins without a required interface.
DefaultsSectionStorageInterface interface core/modules/layout_builder/src/DefaultsSectionStorageInterface.php Defines an interface for an object that stores layout sections for defaults.
DefaultsSectionStorageInterface.php file core/modules/layout_builder/src/DefaultsSectionStorageInterface.php
DefaultsSectionStorageInterface::isOverridable function core/modules/layout_builder/src/DefaultsSectionStorageInterface.php Determines if the defaults allow custom overrides.
DefaultsSectionStorageInterface::setOverridable function core/modules/layout_builder/src/DefaultsSectionStorageInterface.php Sets the defaults to allow or disallow overrides.
DeletedFieldsRepositoryInterface interface core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Provides an interface for a deleted fields repository.
DeletedFieldsRepositoryInterface.php file core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php
DeletedFieldsRepositoryInterface::addFieldDefinition function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Adds a field definition object to the deleted list.
DeletedFieldsRepositoryInterface::addFieldStorageDefinition function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Adds a field storage definition object to the deleted list.
DeletedFieldsRepositoryInterface::getFieldDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Returns a list of deleted field definitions.
DeletedFieldsRepositoryInterface::getFieldStorageDefinitions function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Returns a list of deleted field storage definitions.
DeletedFieldsRepositoryInterface::removeFieldDefinition function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Removes a field definition object from the deleted list.
DeletedFieldsRepositoryInterface::removeFieldStorageDefinition function core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php Removes a field storage definition object from the deleted list.
DependentAccessInterface interface core/modules/block_content/src/Access/DependentAccessInterface.php Interface for AccessibleInterface objects that have an access dependency.
DependentAccessInterface.php file core/modules/block_content/src/Access/DependentAccessInterface.php
DependentAccessInterface::getAccessDependency function core/modules/block_content/src/Access/DependentAccessInterface.php Gets the access dependency.
DependentPluginDefinitionInterface interface core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionInterface.php Provides an interface for a plugin definition that has dependencies.
DependentPluginDefinitionInterface.php file core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionInterface.php
DependentPluginDefinitionInterface::getConfigDependencies function core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionInterface.php Gets the config dependencies of this plugin definition.
DependentPluginDefinitionInterface::setConfigDependencies function core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionInterface.php Sets the config dependencies of this plugin definition.
DependentPluginInterface interface core/lib/Drupal/Component/Plugin/DependentPluginInterface.php Provides an interface for a plugin that has dependencies.
DependentPluginInterface.php file core/lib/Drupal/Component/Plugin/DependentPluginInterface.php
DependentPluginInterface::calculateDependencies function core/lib/Drupal/Component/Plugin/DependentPluginInterface.php Calculates dependencies for the configured plugin.
DependentWithRemovalPluginInterface interface core/modules/views/src/Plugin/DependentWithRemovalPluginInterface.php Provides an interface for a plugin that has dependencies that can be removed.
DependentWithRemovalPluginInterface.php file core/modules/views/src/Plugin/DependentWithRemovalPluginInterface.php
DependentWithRemovalPluginInterface::onDependencyRemoval function core/modules/views/src/Plugin/DependentWithRemovalPluginInterface.php Allows a plugin to define whether it should be removed.
DerivablePluginDefinitionInterface interface core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php Provides an interface for a derivable plugin definition.
DerivablePluginDefinitionInterface.php file core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php
DerivablePluginDefinitionInterface::getDeriver function core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php Gets the name of the deriver of this plugin definition, if it exists.
DerivablePluginDefinitionInterface::setDeriver function core/lib/Drupal/Component/Plugin/Definition/DerivablePluginDefinitionInterface.php Sets the deriver of this plugin definition.

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