TaxonomyTermTitle.php in Display Suite 8.4
Same filename and directory in other branches
Namespace
Drupal\ds\Plugin\DsField\TaxonomyFile
src/Plugin/DsField/Taxonomy/TaxonomyTermTitle.phpView source
<?php
namespace Drupal\ds\Plugin\DsField\Taxonomy;
use Drupal\ds\Plugin\DsField\Title;
/**
* Plugin that renders the title of a term.
*
* @DsField(
* id = "taxonomy_term_title",
* title = @Translation("Name"),
* entity_type = "taxonomy_term",
* provider = "taxonomy"
* )
*/
class TaxonomyTermTitle extends Title {
/**
* {@inheritdoc}
*/
public function entityRenderKey() {
return 'name';
}
}
Classes
Name![]() |
Description |
---|---|
TaxonomyTermTitle | Plugin that renders the title of a term. |