Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rng-3202298
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
rng-3202298
Commits
856eb06f
Commit
856eb06f
authored
8 years ago
by
dpi
Browse files
Options
Downloads
Patches
Plain Diff
Removed custom add entity link.
Primarily used for identity_contact.module. Perhaps it will return in the future.
parent
11e185c5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Form/RegistrationForm.php
+0
-13
0 additions, 13 deletions
src/Form/RegistrationForm.php
with
0 additions
and
13 deletions
src/Form/RegistrationForm.php
+
0
−
13
View file @
856eb06f
...
...
@@ -155,19 +155,6 @@ class RegistrationForm extends ContentEntityForm {
'#tags'
=>
FALSE
,
'#parents'
=>
array
(
'entity'
,
$entity_type_id
),
];
// Add link: The 'add' link is something invented by RNG, it is not a
// standard link.
// @todo: replace with add and reference ajax popup + form.
if
(
$add_link
=
$entity_type
->
getLinkTemplate
(
'add-form'
))
{
$form
[
'identity_information'
][
'identity'
][
$entity_type_id
][
'add'
]
=
[
'#type'
=>
'link'
,
'#title'
=>
$this
->
t
(
'Add @entity_type'
,
[
'@entity_type'
=>
$entity_type
->
getLabel
()]),
'#url'
=>
Url
::
fromUserInput
(
$entity_type
->
getLinkTemplate
(
'add-form'
)),
'#prefix'
=>
'['
,
'#suffix'
=>
']'
,
];
}
}
}
...
...
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