Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
varbase-3293696
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
varbase-3293696
Commits
c534c8ec
Commit
c534c8ec
authored
7 years ago
by
Yasmeen Abuerrub
Committed by
Rajab Natshah
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2904981
: Moved paragraphs styling
parent
4333f53b
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
modules/varbase_features/varbase_landing/varbase_landing.module
+24
-0
24 additions, 0 deletions
...s/varbase_features/varbase_landing/varbase_landing.module
with
24 additions
and
0 deletions
modules/varbase_features/varbase_landing/varbase_landing.module
0 → 100644
+
24
−
0
View file @
c534c8ec
<?php
/**
* @file
* Contains varbase_landing.module.
*/
use
Drupal\Core\Form\FormStateInterface
;
/**
* Implements hook_form_FORM_ID_alter().
*/
function
varbase_landing_form_node_landing_page_edit_form_alter
(
&
$form
,
FormStateInterface
$form_state
,
$form_id
)
{
// Add the Varbase Bootstrap Paragraphs default admin styling.
$form
[
'#attached'
][
'library'
][]
=
'varbase_bootstrap_paragraphs/vbp-default-admin'
;
}
/**
* Implements hook_form_FORM_ID_alter().
*/
function
varbase_landing_form_node_landing_page_form_alter
(
&
$form
,
FormStateInterface
$form_state
,
$form_id
)
{
// Add the Varbase Bootstrap Paragraphs default admin styling.
$form
[
'#attached'
][
'library'
][]
=
'varbase_bootstrap_paragraphs/vbp-default-admin'
;
}
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