entity-8.x-1.x-dev/src/EntityPermissionProviderInterface.php

src/EntityPermissionProviderInterface.php
<?php

namespace Drupal\entity;

use Drupal\Core\Entity\EntityTypeInterface;

/**
 * Allows entity types to provide permissions.
 */
interface EntityPermissionProviderInterface {

  /**
   * Builds permissions for the given entity type.
   *
   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
   *   The entity type.
   *
   * @return array
   *   The permissions.
   */
  public function buildPermissions(EntityTypeInterface $entity_type);

}

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

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