function block_admin_display

Page callback: Shows the block administration page.

Parameters

string $theme: The theme to display the administration page for.

Return value

array A render array for a page containing a list of blocks.

See also

block_menu()

1 string reference to 'block_admin_display'
block_menu in drupal/core/modules/block/block.module
Implements hook_menu().

File

drupal/core/modules/block/block.admin.inc, line 35
Admin page callbacks for the block module.

Code

function block_admin_display($theme) {
  return Drupal::entityManager()
    ->getListController('block')
    ->render($theme);
}