/**
  * {@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);
 }
Exemplo n.º 3
0
 /**
  * {@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);
 }
Exemplo n.º 4
0
 /**
  * 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);
 }