You are here

class Style in Bootstrap Styles 1.0.x

Defines a style form plugin annotation object.

Hierarchy

Expanded class hierarchy of Style

8 classes are annotated with Style
BackgroundColor in src/Plugin/BootstrapStyles/Style/BackgroundColor.php
Class BackgroundColor.
BackgroundMedia in src/Plugin/BootstrapStyles/Style/BackgroundMedia.php
Class BackgroundMedia.
Border in src/Plugin/BootstrapStyles/Style/Border.php
Class Border.
BoxShadow in src/Plugin/BootstrapStyles/Style/BoxShadow.php
Class BoxShadow.
Margin in src/Plugin/BootstrapStyles/Style/Margin.php
Class Margin.

... See full list

File

src/Annotation/Style.php, line 12

Namespace

Drupal\bootstrap_styles\Annotation
View source
class Style extends Plugin {

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

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

  /**
   * An integer to determine the weight of this style.
   *
   * @var intoptional
   */
  public $weight = NULL;

}

Members

Namesort descending Modifiers Type Description Overrides
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 1
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
Style::$id public property The plugin ID.
Style::$title public property The title of the styles group plugin.
Style::$weight public property An integer to determine the weight of this style.