Example #1
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['content'] = array('default' => '', 'translatable' => TRUE, 'format_key' => 'format');
     $options['format'] = array('default' => NULL);
     return $options;
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     // Per default we enable tokenize, as this is the most common use case for
     // this handler.
     $options['tokenize']['default'] = TRUE;
     $options['entity_id'] = array('default' => '');
     $options['view_mode'] = array('default' => 'default');
     $options['bypass_access'] = array('default' => FALSE);
     return $options;
 }
Example #3
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     // Override defaults to from parent.
     $options['tokenize']['default'] = TRUE;
     $options['empty']['default'] = TRUE;
     // Provide our own defaults.
     $options['content'] = array('default' => '');
     $options['pager_embed'] = array('default' => FALSE);
     return $options;
 }
Example #4
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     // Per default we enable tokenize, as this is the most common use case for
     // this handler.
     $options['tokenize']['default'] = TRUE;
     // Contains the config target identifier for the entity.
     $options['target'] = ['default' => ''];
     $options['view_mode'] = ['default' => 'default'];
     $options['bypass_access'] = ['default' => FALSE];
     return $options;
 }
Example #5
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['content'] = array('default' => '');
     return $options;
 }
Example #6
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['content'] = array('contains' => array('value' => array('default' => ''), 'format' => array('default' => NULL)));
     return $options;
 }
Example #7
0
 /**
  * {@inheritdoc}
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['content'] = array('default' => '', 'translatable' => TRUE);
     return $options;
 }