reviewer-1.2.x-dev/src/Reviewer/Review/ReviewFactoryInterface.php

src/Reviewer/Review/ReviewFactoryInterface.php
<?php

namespace Drupal\reviewer\Reviewer\Review;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Defines a factory which creates reviews.
 */
interface ReviewFactoryInterface {

  /**
   * Create a review.
   *
   * @param array<string, \Drupal\reviewer\Reviewer\Checklist\ChecklistInterface> $checklists
   * @param array{id: string, reason: string}[] $ignored
   */
  public function create(
    string $id,
    string $label,
    array $checklists,
    array $ignored,
    ConfigEntityInterface|null $configEntity = NULL,
  ): ReviewInterface;

}

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

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