You are here

public function EntityQueueSmartQueueArgument::defineOptions in Entityqueue 8

Information about options for all kinds of purposes will be held here.


'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),

Return value

array Returns the options of this handler/plugin.

Overrides StringArgument::defineOptions

File

modules/entityqueue_smartqueue/src/Plugin/views/argument/EntityQueueSmartQueueArgument.php, line 56

Class

EntityQueueSmartQueueArgument
Plugin annotation @ViewsArgument("entityqueue_smartqueue_name");

Namespace

Drupal\entityqueue_smartqueue\Plugin\views\argument

Code

public function defineOptions() {
  $options = parent::defineOptions();
  $options['smartqueue'] = [
    'default' => NULL,
  ];
  return $options;
}