projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
views
/
src
/
Plugin
/
views
/
argument
/
ArgumentPluginBase.php
diff --git
a/web/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
b/web/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
index 3f145195a3a51adf02b1faa6a8df641100ee8f03..9bcd5ba699c988559922fd022451f3a3faa39d36 100644
(file)
--- a/
web/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
+++ b/
web/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
@@
-325,7
+325,8
@@
abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
'#suffix' => '</div>',
'#type' => 'item',
// Even if the plugin has no options add the key to the form_state.
'#suffix' => '</div>',
'#type' => 'item',
// Even if the plugin has no options add the key to the form_state.
- '#input' => TRUE, // trick it into checking input to make #process run
+ // trick it into checking input to make #process run.
+ '#input' => TRUE,
'#states' => [
'visible' => [
':input[name="options[specify_validation]"]' => ['checked' => TRUE],
'#states' => [
'visible' => [
':input[name="options[specify_validation]"]' => ['checked' => TRUE],
@@
-498,12
+499,14
@@
abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
'method' => 'defaultDefault',
'form method' => 'defaultArgumentForm',
'has default argument' => TRUE,
'method' => 'defaultDefault',
'form method' => 'defaultArgumentForm',
'has default argument' => TRUE,
- 'default only' => TRUE, // this can only be used for missing argument, not validation failure
+ // This can only be used for missing argument, not validation failure.
+ 'default only' => TRUE,
],
'not found' => [
'title' => $this->t('Hide view'),
'method' => 'defaultNotFound',
],
'not found' => [
'title' => $this->t('Hide view'),
'method' => 'defaultNotFound',
- 'hard fail' => TRUE, // This is a hard fail condition
+ // This is a hard fail condition.
+ 'hard fail' => TRUE,
],
'summary' => [
'title' => $this->t('Display a summary'),
],
'summary' => [
'title' => $this->t('Display a summary'),
@@
-669,7
+672,8
@@
abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
'#suffix' => '</div>',
'#id' => 'edit-options-summary-options-' . $id,
'#type' => 'item',
'#suffix' => '</div>',
'#id' => 'edit-options-summary-options-' . $id,
'#type' => 'item',
- '#input' => TRUE, // trick it into checking input to make #process run
+ // Trick it into checking input to make #process run.
+ '#input' => TRUE,
'#states' => [
'visible' => [
':input[name="options[default_action]"]' => ['value' => 'summary'],
'#states' => [
'visible' => [
':input[name="options[default_action]"]' => ['value' => 'summary'],