public function MultiItemsFieldHandlerInterface::getItems in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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()
- Field::getItems in core/
modules/ views/ src/ Plugin/ views/ field/ Field.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 39 - Contains \Drupal\views\Plugin\views\field\MultiItemsFieldHandlerInterface.
Class
- MultiItemsFieldHandlerInterface
- Defines a field hander which renders multiple items per row.
Namespace
Drupal\views\Plugin\views\fieldCode
public function getItems(ResultRow $values);