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
StateInterface::get function core/lib/Drupal/Core/State/StateInterface.php Returns the stored value for a given key.
StateInterface::getMultiple function core/lib/Drupal/Core/State/StateInterface.php Returns the stored key/value pairs for a given set of keys.
StateInterface::getTransitions function core/modules/workflows/src/StateInterface.php Gets all the possible transition objects for the state.
StateInterface::getTransitionTo function core/modules/workflows/src/StateInterface.php Gets the Transition object for the provided state ID.
StateInterface::id function core/modules/workflows/src/StateInterface.php Gets the state's ID.
StateInterface::label function core/modules/workflows/src/StateInterface.php Gets the state's label.
StateInterface::PLUGIN_FORM_KEY constant core/modules/workflows/src/StateInterface.php The key of the state plugin form.
StateInterface::resetCache function core/lib/Drupal/Core/State/StateInterface.php Resets the static cache.
StateInterface::set function core/lib/Drupal/Core/State/StateInterface.php Saves a value for a given key.
StateInterface::setMultiple function core/lib/Drupal/Core/State/StateInterface.php Saves key/value pairs.
StateInterface::weight function core/modules/workflows/src/StateInterface.php Gets the state's weight.
StatementInterface interface core/lib/Drupal/Core/Database/StatementInterface.php Represents a prepared statement.
StatementInterface.php file core/lib/Drupal/Core/Database/StatementInterface.php
StatementInterface::execute function core/lib/Drupal/Core/Database/StatementInterface.php Executes a prepared statement
StatementInterface::fetch function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row from a result set.
StatementInterface::fetchAll function core/lib/Drupal/Core/Database/StatementInterface.php Returns an array containing all of the result set rows.
StatementInterface::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Returns the result set as an associative array keyed by the given field.
StatementInterface::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementInterface.php Returns the entire result set as a single associative array.
StatementInterface::fetchAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an associative array.
StatementInterface::fetchCol function core/lib/Drupal/Core/Database/StatementInterface.php Returns an entire single column of a result set as an indexed array.
StatementInterface::fetchField function core/lib/Drupal/Core/Database/StatementInterface.php Returns a single field from the next record of a result set.
StatementInterface::fetchObject function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an object.
StatementInterface::getQueryString function core/lib/Drupal/Core/Database/StatementInterface.php Gets the query string of this statement.
StatementInterface::rowCount function core/lib/Drupal/Core/Database/StatementInterface.php Returns the number of rows affected by the last SQL statement.
StatementInterface::setFetchMode function core/lib/Drupal/Core/Database/StatementInterface.php Sets the default fetch mode for this statement.
StateTransitionValidationInterface interface core/modules/content_moderation/src/StateTransitionValidationInterface.php Validates whether a certain state transition is allowed.
StateTransitionValidationInterface.php file core/modules/content_moderation/src/StateTransitionValidationInterface.php
StateTransitionValidationInterface::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidationInterface.php Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidationInterface::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidationInterface.php Checks if a transition between two states if valid for the given user.
StaticMenuLinkOverridesInterface interface core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php Defines an interface for objects which overrides menu links defined in YAML.
StaticMenuLinkOverridesInterface.php file core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php
StaticMenuLinkOverridesInterface::deleteMultipleOverrides function core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php Deletes multiple overrides to definitions of static (YAML-defined) links.
StaticMenuLinkOverridesInterface::deleteOverride function core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php Deletes any overrides to the definition of a static (YAML-defined) link.
StaticMenuLinkOverridesInterface::getCacheTags function core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php The unique cache tag associated with this menu link override.
StaticMenuLinkOverridesInterface::loadMultipleOverrides function core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php Loads overrides to multiple definitions of a static (YAML-defined) link.
StaticMenuLinkOverridesInterface::loadOverride function core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php Loads any overrides to the definition of a static (YAML-defined) link.
StaticMenuLinkOverridesInterface::reload function core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php Reloads the overrides from config.
StaticMenuLinkOverridesInterface::saveOverride function core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php Saves the override.
StatisticsStorageInterface interface core/modules/statistics/src/StatisticsStorageInterface.php Provides an interface defining Statistics Storage.
StatisticsStorageInterface.php file core/modules/statistics/src/StatisticsStorageInterface.php
StatisticsStorageInterface::deleteViews function core/modules/statistics/src/StatisticsStorageInterface.php Delete counts for a specific entity.
StatisticsStorageInterface::fetchAll function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times a entity has been viewed.
StatisticsStorageInterface::fetchView function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times a single entity has been viewed.
StatisticsStorageInterface::fetchViews function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times entities have been viewed.
StatisticsStorageInterface::maxTotalCount function core/modules/statistics/src/StatisticsStorageInterface.php Returns the highest 'totalcount' value.
StatisticsStorageInterface::recordView function core/modules/statistics/src/StatisticsStorageInterface.php Count a entity view.
StatisticsStorageInterface::resetDayCount function core/modules/statistics/src/StatisticsStorageInterface.php Reset the day counter for all entities once every day.
StorageCacheInterface interface core/lib/Drupal/Core/Config/StorageCacheInterface.php Defines an interface for cached configuration storage.
StorageCacheInterface.php file core/lib/Drupal/Core/Config/StorageCacheInterface.php
StorageCacheInterface::resetListCache function core/lib/Drupal/Core/Config/StorageCacheInterface.php Reset the static cache of the listAll() cache.

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