diff --git a/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php b/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php index f99358f5f298fea8dcaa892b54ce9198adc1c3e1..92eb3a97b1e8803395226a44cc26db66d6e0d0a7 100644 --- a/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php +++ b/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php @@ -95,6 +95,9 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o } } + /** + * {@inheritdoc} + */ protected function defineOptions() { $options = parent::defineOptions(); @@ -107,6 +110,9 @@ protected function defineOptions() { return $options; } + /** + * {@inheritdoc} + */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { $form['term_page'] = array( '#type' => 'checkbox', @@ -165,6 +171,9 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { ); } + /** + * {@inheritdoc} + */ public function submitOptionsForm(&$form, FormStateInterface $form_state, &$options = array()) { // Filter unselected items so we don't unnecessarily store giant arrays. $options['vids'] = array_filter($options['vids']); diff --git a/core/modules/user/src/Plugin/views/argument_default/CurrentUser.php b/core/modules/user/src/Plugin/views/argument_default/CurrentUser.php index 48b2c9c00370ae0ee2569482a67b3602bcc5e59e..79925801a3373b1dcadb9afdaab134b62a0db371 100644 --- a/core/modules/user/src/Plugin/views/argument_default/CurrentUser.php +++ b/core/modules/user/src/Plugin/views/argument_default/CurrentUser.php @@ -23,6 +23,9 @@ */ class CurrentUser extends ArgumentDefaultPluginBase implements CacheableDependencyInterface { + /** + * {@inheritdoc} + */ public function getArgument() { return \Drupal::currentUser()->id(); } diff --git a/core/modules/views/src/Plugin/views/argument_default/Fixed.php b/core/modules/views/src/Plugin/views/argument_default/Fixed.php index 096794e2f1025dea8acca501b1b008ef4b9f56d8..9b1ee250f50b4e03d1b6cdc9886602647db69500 100644 --- a/core/modules/views/src/Plugin/views/argument_default/Fixed.php +++ b/core/modules/views/src/Plugin/views/argument_default/Fixed.php @@ -23,6 +23,9 @@ */ class Fixed extends ArgumentDefaultPluginBase implements CacheableDependencyInterface { + /** + * {@inheritdoc} + */ protected function defineOptions() { $options = parent::defineOptions(); $options['argument'] = array('default' => ''); @@ -30,6 +33,9 @@ protected function defineOptions() { return $options; } + /** + * {@inheritdoc} + */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); $form['argument'] = array( @@ -40,7 +46,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Return the default argument. + * {@inheritdoc} */ public function getArgument() { return $this->options['argument']; diff --git a/core/modules/views/src/Plugin/views/argument_default/Raw.php b/core/modules/views/src/Plugin/views/argument_default/Raw.php index d3295c15a6a95b14604e6c66cff6269bba4ebe1f..b94a2db0fe3d4780bce616112616e813db3d73c4 100644 --- a/core/modules/views/src/Plugin/views/argument_default/Raw.php +++ b/core/modules/views/src/Plugin/views/argument_default/Raw.php @@ -74,6 +74,9 @@ public static function create(ContainerInterface $container, array $configuratio ); } + /** + * {@inheritdoc} + */ protected function defineOptions() { $options = parent::defineOptions(); $options['index'] = array('default' => ''); @@ -82,6 +85,9 @@ protected function defineOptions() { return $options; } + /** + * {@inheritdoc} + */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); $form['index'] = array( @@ -102,6 +108,9 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { ); } + /** + * {@inheritdoc} + */ public function getArgument() { $path = trim($this->currentPath->getPath($this->view->getRequest()), '/'); if ($this->options['use_alias']) {