build_hooks-8.x-2.4/src/Entity/FrontendEnvironmentInterface.php

src/Entity/FrontendEnvironmentInterface.php
<?php

namespace Drupal\build_hooks\Entity;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface for defining Frontend environment entities.
 */
interface FrontendEnvironmentInterface extends ConfigEntityInterface {

  /**
   * Get the url of the environment.
   *
   * @return string
   *   URL.
   */
  public function getUrl();

  /**
   * Get the weight of the environment.
   *
   * @return int
   *   Weight.
   */
  public function getWeight();

  /**
   * Get the deployment strategy of the environment.
   *
   * @return string
   *   Strategy.
   */
  public function getDeploymentStrategy();

  /**
   * Sets the deployment strategy of the environment.
   *
   * @param string $deploymentStrategy
   *   The deployment strategy.
   */
  public function setDeploymentStrategy($deploymentStrategy);

  /**
   * Gets the frontend environment plugin for this environment.
   *
   * @return \Drupal\build_hooks\Plugin\FrontendEnvironmentInterface
   *   Plugin.
   */
  public function getPlugin();

}

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

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