Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
usersurveys
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
thundercats
usersurveys
Merge requests
!4
CEN-324, placeholder back-end
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CEN-324, placeholder back-end
CEN-324
into
master
Overview
0
Commits
1
Changes
2
Merged
Carlos Barberis
requested to merge
CEN-324
into
master
9 years ago
Overview
0
Commits
1
Changes
-
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
10a29095
1 commit,
9 years ago
+
19
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
code/editableformfields/PlaceHolderField.php
0 → 100644
+
17
−
0
Options
<?php
class PlaceHolderField extends EditableFormField {
private static $singular_name = 'Placeholder';
private static $plural_name = 'Placeholder';
private static $literal = true;
public function getFormField() {
$labelField = new HeaderField($this->Name, $this->EscapedTitle, $this->Level);
$labelField->setAttribute('data-show-on-load', true);
return $labelField;
}
}
\ No newline at end of file