/** * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); $options['content'] = array('default' => '', 'translatable' => TRUE, 'format_key' => 'format'); $options['format'] = array('default' => NULL); return $options; }
/** * {@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; }
/** * {@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; }
/** * {@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; }
/** * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); $options['content'] = array('default' => ''); return $options; }
/** * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); $options['content'] = array('contains' => array('value' => array('default' => ''), 'format' => array('default' => NULL))); return $options; }
/** * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); $options['content'] = array('default' => '', 'translatable' => TRUE); return $options; }