You are here

public function PartyUIController::overviewForm in Party 7

Same name and namespace in other branches
  1. 8.2 includes/party.ui.inc \PartyUIController::overviewForm()

Builds the entity overview form.

Overrides EntityDefaultUIController::overviewForm

File

includes/party.ui.inc, line 39
Provides a controller for building a party overview form.

Class

PartyUIController
Controller for providing Party UI.

Code

public function overviewForm($form, &$form_state) {

  // Show an overview for all entities.
  // Actions form is commented out for now as it doesn't do anything yet!

  //$form['actions'] = $this->actionsForm();
  $form['table'] = $this
    ->overviewTable();
  $form['pager'] = array(
    '#theme' => 'pager',
  );
  return $form;
}