You are here

DevelopmentEnvironmentControllerInterface.php in Development Environment 8

File

src/Controller/DevelopmentEnvironmentControllerInterface.php
View source
<?php

namespace Drupal\development_environment\Controller;


/**
 * Interface for the DevelopmentEnvironmentController class.
 */
interface DevelopmentEnvironmentControllerInterface {

  /**
   * Creates the log page listing all email logs.
   *
   * @return array
   *   A render array representing the email log listing page.
   */
  public function logListPage();

  /**
   * Log page for an individual email.
   *
   * @param int $lid
   *   The log item ID.
   *
   * @return array
   *   A render array representing a single email log page.
   */
  public function mailLogPage($lid);

  /**
   * Settings page for the Development Environment module.
   *
   * @return array
   *   A render array representing the settings page.
   */
  public function settingsPage();

}

Interfaces

Namesort descending Description
DevelopmentEnvironmentControllerInterface Interface for the DevelopmentEnvironmentController class.