You are here

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

Expanded class hierarchy of FacetsPrettyPathsCoder

See also

\Drupal\facets_pretty_paths\Coder\CoderPluginManager

Plugin API

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\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
FacetsPrettyPathsCoder::$description public property The description.
FacetsPrettyPathsCoder::$id public property The plugin id.
FacetsPrettyPathsCoder::$label public property The human-readable name 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