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
Merge requests
!8599
Draft: Issue
#3458215
: Initial work for the button component
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: Issue
#3458215
: Initial work for the button component
issue/drupal-3458215:3458215-migrate-toolbar-button-sdc
into
11.x
Overview
8
Commits
5
Pipelines
4
Changes
10
6 unresolved threads
Hide all comments
Closed
Cristina Chumillas
requested to merge
issue/drupal-3458215:3458215-migrate-toolbar-button-sdc
into
11.x
9 months ago
Overview
8
Commits
5
Pipelines
4
Changes
10
6 unresolved threads
Hide all comments
Expand
Closes
#3458215
0
0
Merge request reports
Compare
11.x
version 3
b1cfdb86
9 months ago
version 2
9819c5ac
9 months ago
version 1
475c889b
9 months ago
11.x (base)
and
latest version
latest version
4043cc03
5 commits,
9 months ago
version 3
b1cfdb86
2 commits,
9 months ago
version 2
9819c5ac
2 commits,
9 months ago
version 1
475c889b
1 commit,
9 months ago
10 files
+
112
−
51
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
core/modules/navigation/components/toolbar-button/toolbar-button.component.yml
0 → 100644
+
46
−
0
Options
$schema
:
https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
name
:
Admin Toolbar Button
description
:
This a single button for the admin toolbar with an optional icon.
status
:
stable
group
:
Navigation
props
:
type
:
object
properties
:
html_tag
:
title
:
HTML Tag
type
:
string
enum
:
-
button
-
a
default
:
a
icon
:
title
:
Icon
type
:
string
extra_classes
:
type
:
array
items
:
type
:
string
action
:
type
:
boolean
has_safe_triangle
:
title
:
Has safe triangle?
description
:
Use this to improve this menu's usability.
type
:
boolean
label
:
type
:
object
properties
:
text
:
title
:
Button label
type
:
string
attrs
:
title
:
Label classes
description
:
Extra classes for the label
type
:
Drupal\Core\Template\Attribute
slots
:
content
:
title
:
Content
required
:
true
description
:
The content of the button.
Loading