You are here

public function MobileDeviceDetectionExtenderPlugin::defineOptionsAlter in Mobile Device Detection 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/display_extender/MobileDeviceDetectionExtenderPlugin.php \Drupal\mobile_device_detection\Plugin\views\display_extender\MobileDeviceDetectionExtenderPlugin::defineOptionsAlter()
  2. 8.2 src/Plugin/views/display_extender/MobileDeviceDetectionExtenderPlugin.php \Drupal\mobile_device_detection\Plugin\views\display_extender\MobileDeviceDetectionExtenderPlugin::defineOptionsAlter()

Provide the key options for this plugin.

Overrides DisplayExtenderPluginBase::defineOptionsAlter

File

src/Plugin/views/display_extender/MobileDeviceDetectionExtenderPlugin.php, line 26

Class

MobileDeviceDetectionExtenderPlugin
Default display extender plugin; does nothing.

Namespace

Drupal\mobile_device_detection\Plugin\views\display_extender

Code

public function defineOptionsAlter(&$options) {
  $options['device_detection'] = array(
    'contains' => array(
      'title' => array(
        'default' => '',
      ),
      'description' => array(
        'default' => '',
      ),
    ),
  );
}