class Style in Bootstrap Styles 1.0.x
Defines a style form plugin annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\bootstrap_styles\Annotation\Style
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.
File
- src/
Annotation/ Style.php, line 12
Namespace
Drupal\bootstrap_styles\AnnotationView 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
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
1 |
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |
Style:: |
public | property | The plugin ID. | |
Style:: |
public | property | The title of the styles group plugin. | |
Style:: |
public | property | An integer to determine the weight of this style. |