class PagererStyle in Pagerer 8
Same name and namespace in other branches
- 8.2 src/Plugin/Annotation/PagererStyle.php \Drupal\pagerer\Plugin\Annotation\PagererStyle
Defines a Plugin annotation object for the Pagerer style plugin.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\pagerer\Plugin\Annotation\PagererStyle
Expanded class hierarchy of PagererStyle
See also
\Drupal\pagerer\Plugin\PagererStyleManager
8 classes are annotated with PagererStyle
- Adaptive in src/
Plugin/ pagerer/ Adaptive.php - Pager style with links to pages following an adaptive logic.
- Basic in src/
Plugin/ pagerer/ Basic.php - Basic pager style similar to Views' 'mini' pager.
- Mini in src/
Plugin/ pagerer/ Mini.php - Pager style to display current page/item in a direct entry textbox.
- Multipane in src/
Plugin/ pagerer/ Multipane.php - A multi-pane (left, center, and right) pager style.
- Progressive in src/
Plugin/ pagerer/ Progressive.php - Pager style with links to pages progressively more distant from current.
File
- src/
Plugin/ Annotation/ PagererStyle.php, line 14
Namespace
Drupal\pagerer\Plugin\AnnotationView source
class PagererStyle extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The title of the Pagerer style.
*
* The string should be wrapped in a @Translation().
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
/**
* The short title of the Pagerer style.
*
* The string should be wrapped in a @Translation().
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $short_title;
/**
* A informative description of the Pagerer style.
*
* The string should be wrapped in a @Translation().
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $help;
/**
* The style type.
*
* Can be 'base' for a base pager style, or 'composite' for special
* style combinations like e.g. the Pagerer multi-pane pager.
*
* @var string
*/
public $style_type;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PagererStyle:: |
public | property | A informative description of the Pagerer style. | |
PagererStyle:: |
public | property | The plugin ID. | |
PagererStyle:: |
public | property | The short title of the Pagerer style. | |
PagererStyle:: |
public | property | The style type. | |
PagererStyle:: |
public | property | The title of the Pagerer style. | |
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:: |
|
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 |