You are here

function views_element_info in Views (for Drupal 7) 8.3

Implements hook_element_info().

File

./views.module, line 140
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_element_info() {
  $types['view'] = array(
    '#theme_wrappers' => array(
      'container',
    ),
    '#pre_render' => array(
      'views_pre_render_view_element',
    ),
    '#name' => NULL,
    '#display_id' => 'default',
    '#arguments' => array(),
  );
  return $types;
}