Esempio n. 1
0
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['view_mode'] = array('default' => 'default');
     $options['links'] = array('default' => FALSE, 'bool' => TRUE);
     return $options;
 }
Esempio n. 2
0
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['inline'] = array('default' => array());
     $options['separator'] = array('default' => '');
     $options['hide_empty'] = array('default' => FALSE);
     $options['default_field_elements'] = array('default' => TRUE);
     return $options;
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['image_options'] = array('default' => array());
     $options['caption_options'] = array('default' => array());
     $options['play_in_transition'] = array('default' => '');
     $options['play_in_mode'] = array('default' => 1);
     $options['play_out_transition'] = array('default' => '');
     $options['play_out_mode'] = array('default' => 1);
     return $options;
 }
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['title_field'] = array('default' => '');
     $options['link_field'] = array('default' => '');
     $options['description_field'] = array('default' => '');
     $options['creator_field'] = array('default' => '');
     $options['date_field'] = array('default' => '');
     $options['guid_field_options']['contains']['guid_field'] = array('default' => '');
     $options['guid_field_options']['contains']['guid_field_is_permalink'] = array('default' => TRUE);
     return $options;
 }
Esempio n. 5
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['text_field'] = array('default' => '');
     $options['created_field'] = array('default' => '');
     $options['type_field'] = array('default' => '');
     $options['description_field'] = array('default' => '');
     $options['html_url_field'] = array('default' => '');
     $options['language_field'] = array('default' => '');
     $options['xml_url_field'] = array('default' => '');
     $options['url_field'] = array('default' => '');
     return $options;
 }
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['loc_field'] = array('default' => '');
     $options['news_publication_name_field'] = array('default' => '');
     $options['news_publication_language_field'] = array('default' => '');
     $options['news_access_field'] = array('default' => '');
     $options['news_genres_field'] = array('default' => '');
     $options['news_publication_date_field'] = array('default' => '');
     $options['news_title_field'] = array('default' => '');
     $options['news_keywords_field'] = array('default' => '');
     $options['news_stock_tickers_field'] = array('default' => '');
     return $options;
 }
Esempio n. 7
0
 /**
  * Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['test_option'] = array('default' => '');
     return $options;
 }
Esempio n. 8
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['view_mode'] = array('default' => 'default');
     return $options;
 }
Esempio n. 9
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['score'] = array('default' => TRUE, 'bool' => TRUE);
     return $options;
 }
Esempio n. 10
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['field_options'] = array('default' => array());
     return $options;
 }
Esempio n. 11
0
 /**
  * Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['view_mode'] = array('default' => 'default');
     // @todo Make the current language renderer the default as soon as we have a
     //   translation language filter. See https://drupal.org/node/2161845.
     $options['rendering_language'] = array('default' => 'translation_language_renderer');
     return $options;
 }
Esempio n. 12
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['date_fields'] = ['default' => []];
     $options['colors'] = ['contains' => ['legend' => ['default' => ''], 'calendar_colors_type' => ['default' => []], 'taxonomy_field' => ['default' => ''], 'calendar_colors_vocabulary' => ['default' => []], 'calendar_colors_taxonomy' => ['default' => []], 'calendar_colors_group' => ['default' => []]]];
     return $options;
 }