/** * {@inheritdoc} */ protected function getNewEntityValues($langcode) { return array('title' => array(array('value' => $this->randomMachineName()))) + parent::getNewEntityValues($langcode); }
/** * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues(). */ protected function getNewEntityValues($langcode) { return array('info' => Unicode::strtolower($this->randomMachineName())) + parent::getNewEntityValues($langcode); }
/** * {@inheritdoc} */ protected function getNewEntityValues($langcode) { // Comment subject is not translatable hence we use a fixed value. return array('subject' => array(array('value' => $this->subject)), 'comment_body' => array(array('value' => $this->randomMachineName(16)))) + parent::getNewEntityValues($langcode); }
/** * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues(). */ protected function getNewEntityValues($langcode) { // User name is not translatable hence we use a fixed value. return array('name' => $this->name) + parent::getNewEntityValues($langcode); }