You are here

protected function CurrentContext::defineOptions in Config Pages 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/argument_default/CurrentContext.php \Drupal\config_pages\Plugin\views\argument_default\CurrentContext::defineOptions()

Retrieve the options when this is a new access control plugin

Overrides ArgumentDefaultPluginBase::defineOptions

File

src/Plugin/views/argument_default/CurrentContext.php, line 24

Class

CurrentContext
Default argument plugin to use the current context value.

Namespace

Drupal\config_pages\Plugin\views\argument_default

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['config_page_type'] = [
    'default' => '',
  ];
  return $options;
}