You are here

public function PartyUIController::overviewForm in Party 8.2

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

Builds the entity overview form.

File

includes/party.ui.inc, line 36
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;
}