public function MultiItemsFieldHandlerInterface::getItems in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php \Drupal\views\Plugin\views\field\MultiItemsFieldHandlerInterface::getItems()
- 9 core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php \Drupal\views\Plugin\views\field\MultiItemsFieldHandlerInterface::getItems()
Gets an array of items for the field.
Parameters
\Drupal\views\ResultRow $values: The result row object containing the values.
Return value
array An array of items for the field.
1 method overrides MultiItemsFieldHandlerInterface::getItems()
- PrerenderList::getItems in core/
modules/ views/ src/ Plugin/ views/ field/ PrerenderList.php - Items should be stored in the result array, if possible, as an array with 'value' as the actual displayable value of the item, plus any items that might be found in the 'alter' options array for creating links, such as…
File
- core/
modules/ views/ src/ Plugin/ views/ field/ MultiItemsFieldHandlerInterface.php, line 34
Class
- MultiItemsFieldHandlerInterface
- Defines a field handler which renders multiple items per row.
Namespace
Drupal\views\Plugin\views\fieldCode
public function getItems(ResultRow $values);