function MultiItemsFieldHandlerInterface::getItems
Same name in other branches
- 9 core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php \Drupal\views\Plugin\views\field\MultiItemsFieldHandlerInterface::getItems()
- 10 core/modules/views/src/Plugin/views/field/MultiItemsFieldHandlerInterface.php \Drupal\views\Plugin\views\field\MultiItemsFieldHandlerInterface::getItems()
- 11.x 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.
2 methods override MultiItemsFieldHandlerInterface::getItems()
- EntityField::getItems in core/
modules/ views/ src/ Plugin/ views/ field/ EntityField.php - Gets an array of items for the field.
- 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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.