Implements \Drupal\Core\Entity\EntityListControllerInterface::render().
Builds the entity list as renderable array for theme_table().
@todo Add a link to add a new item to the #empty text.
Overrides EntityListController::render
public function render() {
$build['action_header']['#markup'] = '<h3>' . t('Available actions:') . '</h3>';
$build['action_table'] = parent::render();
if (!$this->hasConfigurableActions) {
unset($build['action_table']['#header']['operations']);
}
$build['action_admin_manage_form'] = drupal_get_form(new ActionAdminManageForm($this->actionManager));
return $build;
}