You are here

interface SectionAssociationStorageInterface in Workbench Access 8

Defines section association storage.

Hierarchy

Expanded class hierarchy of SectionAssociationStorageInterface

All classes that implement SectionAssociationStorageInterface

2 files declare their use of SectionAssociationStorageInterface
AssignUserForm.php in src/Form/AssignUserForm.php
SectionAssociationStorage.php in src/SectionAssociationStorage.php

File

src/SectionAssociationStorageInterface.php, line 10

Namespace

Drupal\workbench_access
View source
interface SectionAssociationStorageInterface extends SqlEntityStorageInterface {

  /**
   * Loads section information.
   *
   * A section is a dual-key index, so loading without an entity id requires
   * two keys.
   *
   * @param $access_scheme_id
   *   The id for an active access scheme entity.
   * @param $section_id
   *   The id for a section within the access scheme.
   *
   * @return \Drupal\workbench_access\Entity\SectionAssociation | NULL.
   *   The section entity or NULL if not found.
   */
  public function loadSection($access_scheme_id, $section_id);

}

Members

Namesort descending Modifiers Type Description Overrides
EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it. 1
EntityStorageInterface::delete public function Deletes permanently saved entities. 1
EntityStorageInterface::deleteRevision public function Delete a specific entity revision. 4
EntityStorageInterface::FIELD_LOAD_CURRENT constant Load the most recent version of an entity's field data.
EntityStorageInterface::FIELD_LOAD_REVISION constant Load the version of an entity's field data specified in the entity.
EntityStorageInterface::getAggregateQuery public function Gets an aggregated query instance. 1
EntityStorageInterface::getEntityType public function Gets the entity type definition. 1
EntityStorageInterface::getEntityTypeId public function Gets the entity type ID. 1
EntityStorageInterface::getQuery public function Gets an entity query instance. 1
EntityStorageInterface::hasData public function Determines if the storage contains any data. 1
EntityStorageInterface::load public function Loads one entity. 1
EntityStorageInterface::loadByProperties public function Load entities by their property values. 1
EntityStorageInterface::loadMultiple public function Loads one or more entities. 1
EntityStorageInterface::loadRevision public function Load a specific entity revision. 4
EntityStorageInterface::loadUnchanged public function Loads an unchanged entity from the database. 1
EntityStorageInterface::resetCache public function Resets the internal, static entity cache. 1
EntityStorageInterface::restore public function Restores a previously saved entity. 1
EntityStorageInterface::save public function Saves the entity permanently. 1
SectionAssociationStorageInterface::loadSection public function Loads section information. 1
SqlEntityStorageInterface::getTableMapping public function Gets a table mapping for the entity's SQL tables. 1