workbench_access-8.x-1.x-dev/src/SectionAssociationStorageInterface.php

src/SectionAssociationStorageInterface.php
<?php

namespace Drupal\workbench_access;

use Drupal\Core\Entity\Sql\SqlEntityStorageInterface;

/**
 * Defines section association storage.
 */
interface SectionAssociationStorageInterface extends SqlEntityStorageInterface {

  /**
   * Loads section information.
   *
   * A section is a dual-key index, so loading without an entity id requires
   * two keys.
   *
   * @param string $access_scheme_id
   *   The id for an active access scheme entity.
   * @param string $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);

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc