function Permissions::render_item in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/src/Plugin/views/field/Permissions.php \Drupal\user\Plugin\views\field\Permissions::render_item()
Renders a single item of a row.
Parameters
int $count: The index of the item inside the row.
mixed $item: The item for the field to render.
Return value
string The rendered output.
Overrides MultiItemsFieldHandlerInterface::render_item
File
- core/
modules/ user/ src/ Plugin/ views/ field/ Permissions.php, line 116 - Contains \Drupal\user\Plugin\views\field\Permissions.
Class
- Permissions
- Field handler to provide a list of permissions.
Namespace
Drupal\user\Plugin\views\fieldCode
function render_item($count, $item) {
return $item['permission'];
}