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
0fa10c63
Commit
0fa10c63
authored
9 years ago
by
Jess
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1800774
by Mile23, Lars Toomre: Add missing type hinting to menu_ui module docblocks
parent
b31bbb08
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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
core/modules/menu_ui/menu_ui.module
+3
-3
3 additions, 3 deletions
core/modules/menu_ui/menu_ui.module
core/modules/menu_ui/src/MenuForm.php
+2
-2
2 additions, 2 deletions
core/modules/menu_ui/src/MenuForm.php
with
5 additions
and
5 deletions
core/modules/menu_ui/menu_ui.module
+
3
−
3
View file @
0fa10c63
...
@@ -449,9 +449,9 @@ function menu_ui_form_node_type_form_builder($entity_type, NodeTypeInterface $ty
...
@@ -449,9 +449,9 @@ function menu_ui_form_node_type_form_builder($entity_type, NodeTypeInterface $ty
/**
/**
* Return an associative array of the custom menus names.
* Return an associative array of the custom menus names.
*
*
* @param $all
* @param
bool
$all
* If FALSE return only user-added menus, or if TRUE also include
*
(optional)
If FALSE return only user-added menus, or if TRUE also include
* the menus defined by the system.
* the menus defined by the system.
Defaults to TRUE.
*
*
* @return array
* @return array
* An array with the machine-readable names as the keys, and human-readable
* An array with the machine-readable names as the keys, and human-readable
...
...
This diff is collapsed.
Click to expand it.
core/modules/menu_ui/src/MenuForm.php
+
2
−
2
View file @
0fa10c63
...
@@ -327,9 +327,9 @@ protected function buildOverviewForm(array &$form, FormStateInterface $form_stat
...
@@ -327,9 +327,9 @@ protected function buildOverviewForm(array &$form, FormStateInterface $form_stat
/**
/**
* Recursive helper function for buildOverviewForm().
* Recursive helper function for buildOverviewForm().
*
*
* @param $tree
* @param
\Drupal\Core\Menu\MenuLinkTreeElement[]
$tree
* The tree retrieved by \Drupal\Core\Menu\MenuLinkTreeInterface::load().
* The tree retrieved by \Drupal\Core\Menu\MenuLinkTreeInterface::load().
* @param $delta
* @param
int
$delta
* The default number of menu items used in the menu weight selector is 50.
* The default number of menu items used in the menu weight selector is 50.
*
*
* @return array
* @return array
...
...
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