Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
ee1c96b4
Commit
ee1c96b4
authored
12 years ago
by
Damian Lee
Committed by
Tim Plunkett
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1789990
by damiankloip | dawehner: Fixed Local task to settings form does not appear.
parent
80e4c781
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/Drupal/views/Tests/UI/SettingsTest.php
+4
-0
4 additions, 0 deletions
lib/Drupal/views/Tests/UI/SettingsTest.php
lib/Drupal/views/ViewListController.php
+7
-0
7 additions, 0 deletions
lib/Drupal/views/ViewListController.php
with
11 additions
and
0 deletions
lib/Drupal/views/Tests/UI/SettingsTest.php
+
4
−
0
View file @
ee1c96b4
...
...
@@ -33,6 +33,10 @@ public static function getInfo() {
function
testEditUI
()
{
$this
->
drupalLogin
(
$this
->
adminUser
);
// Test the settings tab exists.
$this
->
drupalGet
(
'admin/structure/views'
);
$this
->
assertLinkByHref
(
'admin/structure/views/settings'
);
// Configure to always show the master display.
$edit
=
array
(
'ui_show_master_display'
=>
TRUE
,
...
...
This diff is collapsed.
Click to expand it.
lib/Drupal/views/ViewListController.php
+
7
−
0
View file @
ee1c96b4
...
...
@@ -35,6 +35,13 @@ public function hookMenu() {
$items
[
$path
][
'access callback'
]
=
'user_access'
;
$items
[
$path
][
'access arguments'
]
=
array
(
'administer views'
);
// Add a default local task, so we have tabs.
$items
[
"
$path
/list"
]
=
array
(
'title'
=>
'List'
,
'weight'
=>
-
10
,
'type'
=>
MENU_DEFAULT_LOCAL_TASK
,
);
// Set up the base for AJAX callbacks.
$ajax_base
=
array
(
'page callback'
=>
'views_ui_listing_ajax_callback'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment