protected static function ListFormatter::fieldListInfo in Text list formatter 8.2
Returns an array of info data, invoking hook_textformatter_field_info().
Return value
array An array of info data.
2 calls to ListFormatter::fieldListInfo()
- ListFormatter::prepareFieldListInfo in lib/
Drupal/ textformatter/ Plugin/ field/ formatter/ ListFormatter.php - Returns an array of info to add to hook_field_formatter_info_alter().
- ListFormatter::viewElements in lib/
Drupal/ textformatter/ Plugin/ field/ formatter/ ListFormatter.php - Implements Drupal\field\Plugin\Type\Formatter\FormatterInterface::viewElements().
File
- lib/
Drupal/ textformatter/ Plugin/ field/ formatter/ ListFormatter.php, line 269 - Definition of Drupal\textformatter\Plugin\field\formatter\List;
Class
- ListFormatter
- Plugin implementation of the 'text_default' formatter.
Namespace
Drupal\textformatter\Plugin\field\formatterCode
protected static function fieldListInfo() {
if (empty(self::$textformatterInfo)) {
self::$textformatterInfo = module_invoke_all('textformatter_field_info');
drupal_alter('textformatter_field_info', $info);
}
return self::$textformatterInfo;
}