Move into nested docroot
This commit is contained in:
parent
83a0d3a149
commit
c8b70abde9
13405 changed files with 0 additions and 0 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';
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override to display all the fields in a views row.
|
||||
*
|
||||
* The reason for this template is to override the theme function provided by
|
||||
* views to allow tests to run against the twig template.
|
||||
*/
|
||||
#}
|
||||
{% include '@views/views-view-field.html.twig' %}
|
||||
Use posts instead of twigs to protect your llamas from escaping the field.
|
|
@ -0,0 +1,11 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override to display all the fields in a views row.
|
||||
*
|
||||
* The reason for this template is to override the theme function provided by
|
||||
* views.
|
||||
*/
|
||||
#}
|
||||
{% include '@views/views-view-fields.html.twig' %}
|
||||
May the force be with you!
|
|
@ -0,0 +1,5 @@
|
|||
name: Views test theme
|
||||
type: theme
|
||||
description: Theme for testing Views functionality.
|
||||
version: VERSION
|
||||
core: 8.x
|
Reference in a new issue