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
BatchStorageInterface interface core/lib/Drupal/Core/Batch/BatchStorageInterface.php Defines a common interface for batch storage operations.
BatchStorageInterface.php file core/lib/Drupal/Core/Batch/BatchStorageInterface.php
BatchStorageInterface::cleanup function core/lib/Drupal/Core/Batch/BatchStorageInterface.php Cleans up failed or old batches.
BatchStorageInterface::create function core/lib/Drupal/Core/Batch/BatchStorageInterface.php Creates and saves a batch.
BatchStorageInterface::delete function core/lib/Drupal/Core/Batch/BatchStorageInterface.php Deletes a batch.
BatchStorageInterface::load function core/lib/Drupal/Core/Batch/BatchStorageInterface.php Loads a batch.
BatchStorageInterface::update function core/lib/Drupal/Core/Batch/BatchStorageInterface.php Updates a batch.
BinaryInterface interface core/lib/Drupal/Core/TypedData/Type/BinaryInterface.php Interface for binary data.
BinaryInterface.php file core/lib/Drupal/Core/TypedData/Type/BinaryInterface.php
BlockContentInterface interface core/modules/block_content/src/BlockContentInterface.php Provides an interface defining a custom block entity.
BlockContentInterface.php file core/modules/block_content/src/BlockContentInterface.php
BlockContentInterface::getInstances function core/modules/block_content/src/BlockContentInterface.php Gets the configured instances of this custom block.
BlockContentInterface::getRevisionLog function core/modules/block_content/src/BlockContentInterface.php Returns the block revision log message.
BlockContentInterface::getTheme function core/modules/block_content/src/BlockContentInterface.php Gets the theme value.
BlockContentInterface::isReusable function core/modules/block_content/src/BlockContentInterface.php Determines if the block is reusable or not.
BlockContentInterface::setInfo function core/modules/block_content/src/BlockContentInterface.php Sets the block description.
BlockContentInterface::setNonReusable function core/modules/block_content/src/BlockContentInterface.php Sets the block to be non-reusable.
BlockContentInterface::setReusable function core/modules/block_content/src/BlockContentInterface.php Sets the block to be reusable.
BlockContentInterface::setRevisionLog function core/modules/block_content/src/BlockContentInterface.php Sets the block revision log message.
BlockContentInterface::setTheme function core/modules/block_content/src/BlockContentInterface.php Sets the theme value.
BlockContentTypeInterface interface core/modules/block_content/src/BlockContentTypeInterface.php Provides an interface defining a custom block type entity.
BlockContentTypeInterface.php file core/modules/block_content/src/BlockContentTypeInterface.php
BlockContentTypeInterface::getDescription function core/modules/block_content/src/BlockContentTypeInterface.php Returns the description of the block type.
BlockEntitySettingTrayForm::buildVisibilityInterface function core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php Helper function for building the visibility UI form.
BlockForm::buildVisibilityInterface function core/modules/block/src/BlockForm.php Helper function for building the visibility UI form.
BlockInterface interface core/modules/block/src/BlockInterface.php Provides an interface defining a block entity.
BlockInterface.php file core/modules/block/src/BlockInterface.php
BlockInterface::BLOCK_LABEL_VISIBLE constant core/modules/block/src/BlockInterface.php Indicates the block label (title) should be displayed to end users.
BlockInterface::BLOCK_REGION_NONE constant core/modules/block/src/BlockInterface.php Denotes that a block is not enabled in any region and should not be shown.
BlockInterface::createDuplicateBlock function core/modules/block/src/BlockInterface.php Creates a duplicate of the block entity.
BlockInterface::getPlugin function core/modules/block/src/BlockInterface.php Returns the plugin instance.
BlockInterface::getPluginId function core/modules/block/src/BlockInterface.php Returns the plugin ID.
BlockInterface::getRegion function core/modules/block/src/BlockInterface.php Returns the region this block is placed in.
BlockInterface::getTheme function core/modules/block/src/BlockInterface.php Returns the theme ID.
BlockInterface::getVisibility function core/modules/block/src/BlockInterface.php Returns an array of visibility condition configurations.
BlockInterface::getVisibilityCondition function core/modules/block/src/BlockInterface.php Gets a visibility condition plugin instance.
BlockInterface::getVisibilityConditions function core/modules/block/src/BlockInterface.php Gets conditions for this block.
BlockInterface::getWeight function core/modules/block/src/BlockInterface.php Returns the weight of this block (used for sorting).
BlockInterface::setRegion function core/modules/block/src/BlockInterface.php Sets the region this block is placed in.
BlockInterface::setVisibilityConfig function core/modules/block/src/BlockInterface.php Sets the visibility condition configuration.
BlockInterface::setWeight function core/modules/block/src/BlockInterface.php Sets the block weight.
BlockInterfaceTest class core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Tests that the block plugin can work properly without a supporting entity.
BlockInterfaceTest.php file core/modules/block/tests/src/Kernel/BlockInterfaceTest.php
BlockInterfaceTest::$modules property core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Modules to enable.
BlockInterfaceTest::testBlockInterface function core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Test configuration and subsequent form() and build() method calls.
BlockManagerInterface interface core/lib/Drupal/Core/Block/BlockManagerInterface.php Provides an interface for the discovery and instantiation of block plugins.
BlockManagerInterface.php file core/lib/Drupal/Core/Block/BlockManagerInterface.php
BlockPluginInterface interface core/lib/Drupal/Core/Block/BlockPluginInterface.php Defines the required interface for all block plugins.
BlockPluginInterface.php file core/lib/Drupal/Core/Block/BlockPluginInterface.php
BlockPluginInterface::access function core/lib/Drupal/Core/Block/BlockPluginInterface.php Indicates whether the block should be shown.

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