Skip to content
Snippets Groups Projects
Commit ebfebf10 authored by Damian Lee's avatar Damian Lee Committed by Tim Plunkett
Browse files

Issue #1791242 by damiankloip: ViewStorageController::attachLoad() should call parent.

parent 230cdaf1
No related branches found
No related tags found
No related merge requests found
......@@ -52,11 +52,11 @@ public function hookMenu() {
);
// Add an enable link.
$items["$path/view/%views_ui_view/enable"] = array(
$items["$path/view/%views_ui/enable"] = array(
'title' => 'Enable a view',
) + $ajax_base;
// Add a disable link.
$items["$path/view/%views_ui_view/disable"] = array(
$items["$path/view/%views_ui/disable"] = array(
'title' => 'Disable a view',
) + $ajax_base;
......
......@@ -53,6 +53,8 @@ protected function attachLoad(&$queried_entities, $revision_id = FALSE) {
}
$this->attachDisplays($entity);
}
parent::attachLoad($queried_entities, $revision_id);
}
/**
......
......@@ -747,6 +747,6 @@ function views_ui_truncate($string, $length) {
/**
* Magic load function. Wrapper to load a view.
*/
function views_ui_view_load($name) {
function views_ui_load($name) {
return views_get_view($name);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment