Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
@ -0,0 +1,5 @@
|
|||
name: Views test checkboxes theme
|
||||
type: theme
|
||||
description: Theme for testing Views rendering of checkboxes.
|
||||
version: VERSION
|
||||
core: 8.x
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Changes an exposed "type" filter from a multi-select to checkboxes.
|
||||
*/
|
||||
|
||||
use Drupal\Core\Form\FormStateInterface;
|
||||
|
||||
/**
|
||||
* Changes an exposed "type" filter from a multi-select to checkboxes.
|
||||
*/
|
||||
function views_test_checkboxes_theme_form_views_exposed_form_alter(&$form, FormStateInterface $form_state) {
|
||||
$form['type']['#type'] = 'checkboxes';
|
||||
}
|
Reference in a new issue