You are here

public function RoleExpireDate::render_item in Role Expire 8

Same name and namespace in other branches
  1. 2.x src/Plugin/views/field/RoleExpireDate.php \Drupal\role_expire\Plugin\views\field\RoleExpireDate::render_item()

inheritdoc}

Overrides MultiItemsFieldHandlerInterface::render_item

File

src/Plugin/views/field/RoleExpireDate.php, line 193

Class

RoleExpireDate
Field handler to display the role expire date.

Namespace

Drupal\role_expire\Plugin\views\field

Code

public function render_item($count, $item) {
  return $item['date'];
}