Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
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 install.
BlockInterfaceTest::testBlockInterface function core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Tests 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.
BlockPluginInterface::blockForm function core/lib/Drupal/Core/Block/BlockPluginInterface.php Returns the configuration form elements specific to this block plugin.
BlockPluginInterface::blockSubmit function core/lib/Drupal/Core/Block/BlockPluginInterface.php Adds block type-specific submission handling for the block form.
BlockPluginInterface::blockValidate function core/lib/Drupal/Core/Block/BlockPluginInterface.php Adds block type-specific validation for the block form.
BlockPluginInterface::BLOCK_LABEL_VISIBLE constant core/lib/Drupal/Core/Block/BlockPluginInterface.php Indicates the block label (title) should be displayed to end users.
BlockPluginInterface::build function core/lib/Drupal/Core/Block/BlockPluginInterface.php Builds and returns the renderable array for this block plugin.
BlockPluginInterface::getMachineNameSuggestion function core/lib/Drupal/Core/Block/BlockPluginInterface.php Suggests a machine name to identify an instance of this block.
BlockPluginInterface::label function core/lib/Drupal/Core/Block/BlockPluginInterface.php Returns the user-facing block label.
BlockPluginInterface::setConfigurationValue function core/lib/Drupal/Core/Block/BlockPluginInterface.php Sets a particular value in the block settings.
BlockRepositoryInterface interface core/modules/block/src/BlockRepositoryInterface.php
BlockRepositoryInterface.php file core/modules/block/src/BlockRepositoryInterface.php
BlockRepositoryInterface::getUniqueMachineName function core/modules/block/src/BlockRepositoryInterface.php Based on a suggested string generates a unique machine name for a block.
BlockRepositoryInterface::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepositoryInterface.php Returns an array of regions and their block entities.
BlockRepositoryInterface::REGIONS_ALL constant core/modules/block/src/BlockRepositoryInterface.php Return all regions.
BlockRepositoryInterface::REGIONS_VISIBLE constant core/modules/block/src/BlockRepositoryInterface.php Return only visible regions.
BookManagerInterface interface core/modules/book/src/BookManagerInterface.php Provides an interface defining a book manager.
BookManagerInterface.php file core/modules/book/src/BookManagerInterface.php
BookManagerInterface::addFormElements function core/modules/book/src/BookManagerInterface.php Builds the common elements of the book form for the node and outline forms.
BookManagerInterface::bookLinkTranslate function core/modules/book/src/BookManagerInterface.php Provides book loading, access control and translation.
BookManagerInterface::bookSubtreeData function core/modules/book/src/BookManagerInterface.php Gets the data representing a subtree of the book hierarchy.
BookManagerInterface::bookTreeAllData function core/modules/book/src/BookManagerInterface.php Gets the data structure representing a named menu tree.
BookManagerInterface::bookTreeCheckAccess function core/modules/book/src/BookManagerInterface.php Checks access and performs dynamic operations for each link in the tree.
BookManagerInterface::bookTreeCollectNodeLinks function core/modules/book/src/BookManagerInterface.php Collects node links from a given menu tree recursively.
BookManagerInterface::bookTreeGetFlat function core/modules/book/src/BookManagerInterface.php Gets the book for a page and returns it as a linear array.
BookManagerInterface::bookTreeOutput function core/modules/book/src/BookManagerInterface.php Returns a rendered menu tree.
BookManagerInterface::checkNodeIsRemovable function core/modules/book/src/BookManagerInterface.php Determines if a node can be removed from the book.
BookManagerInterface::deleteFromBook function core/modules/book/src/BookManagerInterface.php Deletes node's entry from book table.
BookManagerInterface::getActiveTrailIds function core/modules/book/src/BookManagerInterface.php Gets the active trail IDs for the specified book at the provided path.
BookManagerInterface::getAllBooks function core/modules/book/src/BookManagerInterface.php Returns an array of all books.
BookManagerInterface::getBookParents function core/modules/book/src/BookManagerInterface.php
BookManagerInterface::getLinkDefaults function core/modules/book/src/BookManagerInterface.php Returns an array with default values for a book page's menu link.
BookManagerInterface::getParentDepthLimit function core/modules/book/src/BookManagerInterface.php Finds the depth limit for items in the parent select.

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