function list_page($js, $input) { if ($substitute = $this->entity_handler->get_substitute($this->entity_view_mode, $this->entity_bundle)) { $url = $this->plugin['menu']['menu prefix'] . '/' . $substitute; drupal_set_message(t('This display is managed by the !view_mode display.', array('!view_mode' => l($substitute, $url))), 'status', FALSE); return ''; } drupal_set_title($this->entity_handler->get_bundle_title($this->entity_bundle)); return parent::list_page($js, $input); }
function list_page($js, $input) { // wrap output in a div for CSS $output = parent::list_page($js, $input); if (is_string($output)) { $output = '<div id="views-ui-list-page">' . $output . '</div>'; return $output; } }
function list_page($js, $input) { // Remove filters values from session if filters are hidden. if (!variable_get('views_ui_show_listing_filters', FALSE) && isset($_SESSION['ctools_export_ui'][$this->plugin['name']])) { unset($_SESSION['ctools_export_ui'][$this->plugin['name']]); } // wrap output in a div for CSS $output = parent::list_page($js, $input); if (is_string($output)) { $output = '<div id="views-ui-list-page">' . $output . '</div>'; return $output; } }
function list_page($js, $input) { drupal_set_title($this->entity_handler->get_bundle_title($this->entity_bundle)); return parent::list_page($js, $input); }
/** * Master entry point for handling a list. */ function list_page($js, $input) { drupal_add_css(drupal_get_path('module', 'ms_products') . '/css/ms_products.plans_ui.css'); return parent::list_page($js, $input); }