class FacetsPrettyPathsCoder in Facets Pretty Paths 8
Defines a Facets pretty paths Coder annotation.
Coder plugins are used to transform a value for url usage. For example, the TaxonomyTermCoder will use the alias stored in the term for usages in urls.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\facets_pretty_paths\Annotation\FacetsPrettyPathsCoder
Expanded class hierarchy of FacetsPrettyPathsCoder
See also
\Drupal\facets_pretty_paths\Coder\CoderPluginManager
1 file declares its use of FacetsPrettyPathsCoder
- CoderPluginManager.php in src/
Coder/ CoderPluginManager.php
4 classes are annotated with FacetsPrettyPathsCoder
- DefaultCoder in src/
Plugin/ facets_pretty_paths/ coder/ DefaultCoder.php - Default facets pretty paths coder.
- DummyCoder in tests/
modules/ facets_pretty_paths_test/ src/ Plugin/ facets_pretty_paths/ coder/ DummyCoder.php - A dummy coder.
- NodeTitleCoder in src/
Plugin/ facets_pretty_paths/ coder/ NodeTitleCoder.php - Node title facets pretty paths coder.
- TaxonomyTermCoder in src/
Plugin/ facets_pretty_paths/ coder/ TaxonomyTermCoder.php - Banana facets pretty paths coder.
File
- src/
Annotation/ FacetsPrettyPathsCoder.php, line 20
Namespace
Drupal\facets_pretty_paths\AnnotationView source
class FacetsPrettyPathsCoder extends Plugin {
/**
* The plugin id.
*
* @var string
*/
public $id;
/**
* The human-readable name of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* The description.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FacetsPrettyPathsCoder:: |
public | property | The description. | |
FacetsPrettyPathsCoder:: |
public | property | The plugin id. | |
FacetsPrettyPathsCoder:: |
public | property | The human-readable name of the plugin. | |
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 |