Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mix
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
mix
Commits
cd47c6f3
Commit
cd47c6f3
authored
2 years ago
by
lugir
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3338485
: Fix some Coding Standards Issues
parent
6e85314d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+9
-6
9 additions, 6 deletions
README.md
mix.module
+3
-1
3 additions, 1 deletion
mix.module
with
12 additions
and
7 deletions
README.md
+
9
−
6
View file @
cd47c6f3
## Introduction
Mix is a collection of features for Drupal site building, management, development and user experience improving.
Mix is a collection of features for Drupal site building, management,
development and user experience improving.
**The main goals of Mix module includes**
:
-
Provide simple but useful features that every Drupal project could use but avoid to install too much dedicated modules.
-
Automate, simplify some common tasks, or provide user-friendly guides to make things more easier.
-
Centralize some common settings and site status information to make site management more efficient.
-
Provide simple but useful features that every Drupal project could use but
avoid to install too much dedicated modules.
-
Automate, simplify some common tasks, or provide user-friendly guides to make
things more easier.
-
Centralize some common settings and site status information to make site
management more efficient.
For a full description of the module, visit the project page:
...
...
@@ -21,8 +25,7 @@ To submit bug reports and feature request:
## Installation
-
Install as you would normally install a contributed Drupal module. For further
information, see
[
Installing Drupal Modules
](
https://www.drupal.org/docs/extending-drupal/installing-drupal-modules
)
.
information, see
[
Installing Drupal Modules
](
https://www.drupal.org/docs/extending-drupal/installing-drupal-modules
)
.
## Configuration
...
...
This diff is collapsed.
Click to expand it.
mix.module
+
3
−
1
View file @
cd47c6f3
...
...
@@ -5,10 +5,12 @@
* Primary module hooks for Mix module.
*/
use
Drupal\Core\Form\FormStateInterface
;
/**
* Implements hook_form_alter().
*/
function
mix_form_alter
(
&
$form
,
\Drupal\Core\Form\
FormStateInterface
$form_state
,
$form_id
)
{
function
mix_form_alter
(
&
$form
,
FormStateInterface
$form_state
,
$form_id
)
{
// Hide revision field.
$currentUser
=
\Drupal
::
currentUser
();
$hideRevisionField
=
\Drupal
::
config
(
'mix.settings'
)
->
get
(
'hide_revision_field'
);
...
...
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