You are here

protected function OAuth2ServerScopeUIController::overviewTableHeaders in OAuth2 Server 7

Overrides EntityDefaultUIController::overviewTableHeaders().

Overrides EntityDefaultUIController::overviewTableHeaders

File

includes/oauth2_server.scope_admin.inc, line 96
Admin UI for scopes.

Class

OAuth2ServerScopeUIController
UI controller.

Code

protected function overviewTableHeaders($conditions, $rows, $additional_header = array()) {
  $header = $additional_header;
  array_unshift($header, t('Scope'));

  // Add operations with the right colspan.
  $header[] = array(
    'data' => t('Operations'),
    'colspan' => $this
      ->operationCount(),
  );
  return $header;
}