You are here

class FrontendEnvironment in Build Hooks 8.2

Same name in this branch
  1. 8.2 src/Annotation/FrontendEnvironment.php \Drupal\build_hooks\Annotation\FrontendEnvironment
  2. 8.2 src/Entity/FrontendEnvironment.php \Drupal\build_hooks\Entity\FrontendEnvironment
Same name and namespace in other branches
  1. 3.x src/Annotation/FrontendEnvironment.php \Drupal\build_hooks\Annotation\FrontendEnvironment

Defines a Frontend environment item annotation object.

Hierarchy

Expanded class hierarchy of FrontendEnvironment

See also

\Drupal\build_hooks\Plugin\FrontendEnvironmentManager

Plugin API

6 classes are annotated with FrontendEnvironment
BitbucketFrontendEnvironment in modules/build_hooks_bitbucket/src/Plugin/FrontendEnvironment/BitbucketFrontendEnvironment.php
Provides a 'Bitbucket pipelines' frontend environment type.
CircleCiFrontendEnvironment in modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleCiFrontendEnvironment.php
Provides a 'CircleCI' frontend environment type.
CircleV2 in modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleV2.php
Defines a circle v2 environment.
GenericFrontendEnvironment in src/Plugin/FrontendEnvironment/GenericFrontendEnvironment.php
Provides a 'Generic' frontend environment type.
NetlifyFrontendEnvironment in modules/build_hooks_netlify/src/Plugin/FrontendEnvironment/NetlifyFrontendEnvironment.php
Provides a 'Netlify' frontend environment type.

... See full list

File

src/Annotation/FrontendEnvironment.php, line 15

Namespace

Drupal\build_hooks\Annotation
View source
class FrontendEnvironment extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

}

Members

Namesort descending Modifiers Type Description Overrides
FrontendEnvironment::$description public property The label of the plugin.
FrontendEnvironment::$id public property The plugin ID.
FrontendEnvironment::$label public property The label of the plugin.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2