Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078
This commit is contained in:
parent
6419a031d7
commit
4afb23bbd3
762 changed files with 20080 additions and 6368 deletions
|
@ -45,7 +45,7 @@ class TranslationString extends StringBase {
|
|||
protected $isNew;
|
||||
|
||||
/**
|
||||
* Overrides Drupal\locale\StringBase::__construct().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function __construct($values = array()) {
|
||||
parent::__construct($values);
|
||||
|
@ -72,28 +72,28 @@ class TranslationString extends StringBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\locale\StringInterface::isSource().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isSource() {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\locale\StringInterface::isTranslation().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isTranslation() {
|
||||
return !empty($this->lid) && !empty($this->language) && isset($this->translation);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\locale\StringInterface::getString().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getString() {
|
||||
return isset($this->translation) ? $this->translation : '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\locale\StringInterface::setString().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setString($string) {
|
||||
$this->translation = $string;
|
||||
|
@ -101,14 +101,14 @@ class TranslationString extends StringBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\locale\StringInterface::isNew().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function isNew() {
|
||||
return $this->isNew;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\locale\StringInterface::save().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function save() {
|
||||
parent::save();
|
||||
|
@ -117,7 +117,7 @@ class TranslationString extends StringBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements Drupal\locale\StringInterface::delete().
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function delete() {
|
||||
parent::delete();
|
||||
|
|
Reference in a new issue