service name.formatter in Name Field 8
Class
Drupal\name\NameFormatter5 string references to name.formatter
- NameFieldBuilder::create in src/
Plugin/ diff/ Field/ NameFieldBuilder.php - Creates an instance of the plugin.
- NameFormatter::create in src/
Plugin/ Field/ FieldFormatter/ NameFormatter.php - Creates an instance of the plugin.
- NameListFormatForm::create in src/
Form/ NameListFormatForm.php - Instantiates a new instance of this class.
- NameListFormatListBuilder::createInstance in src/
NameListFormatListBuilder.php - Instantiates a new instance of this entity handler.
- NameNodeTokenReplaceTest::testNodeTokenReplacement in tests/
src/ Functional/ NameNodeTokenReplaceTest.php - Creates a node, then tests the tokens generated from it.
File
View source
- class: Drupal\name\NameFormatter
- arguments:
- - '@entity_type.manager'
- - '@name.format_parser'
- - '@language_manager'
- - '@string_translation'
- - '@config.factory'