X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fviews%2Fsrc%2FPlugin%2Fviews%2Fargument_default%2FArgumentDefaultPluginBase.php;fp=web%2Fcore%2Fmodules%2Fviews%2Fsrc%2FPlugin%2Fviews%2Fargument_default%2FArgumentDefaultPluginBase.php;h=74a8ab203ef1fe4ef81d98f32b8a44c688ba0e66;hp=6cea74d4a0ddf7936ff5b36e924bb98ba01aa87c;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php b/web/core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php index 6cea74d4a..74a8ab203 100644 --- a/web/core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php +++ b/web/core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php @@ -42,7 +42,7 @@ abstract class ArgumentDefaultPluginBase extends PluginBase { * * This needs to be overridden by every default argument handler to properly do what is needed. */ - public function getArgument() { } + public function getArgument() {} /** * Sets the parent argument this plugin is associated with. @@ -58,28 +58,32 @@ abstract class ArgumentDefaultPluginBase extends PluginBase { * Retrieve the options when this is a new access * control plugin */ - protected function defineOptions() { return []; } + protected function defineOptions() { + return []; + } /** * Provide the default form for setting options. */ - public function buildOptionsForm(&$form, FormStateInterface $form_state) { } + public function buildOptionsForm(&$form, FormStateInterface $form_state) {} /** * Provide the default form form for validating options */ - public function validateOptionsForm(&$form, FormStateInterface $form_state) { } + public function validateOptionsForm(&$form, FormStateInterface $form_state) {} /** * Provide the default form form for submitting options */ - public function submitOptionsForm(&$form, FormStateInterface $form_state, &$options = []) { } + public function submitOptionsForm(&$form, FormStateInterface $form_state, &$options = []) {} /** * Determine if the administrator has the privileges to use this * plugin */ - public function access() { return TRUE; } + public function access() { + return TRUE; + } /** * If we don't have access to the form but are showing it anyway, ensure that