Skip to content
Snippets Groups Projects
Commit cd47c6f3 authored by lugir's avatar lugir
Browse files

Issue #3338485: Fix some Coding Standards Issues

parent 6e85314d
No related branches found
No related tags found
No related merge requests found
## 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
......
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment