Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713

This commit is contained in:
Pantheon Automation 2016-05-04 14:35:41 -07:00 committed by Greg Anderson
parent c0a0d5a94c
commit 9eae24d844
669 changed files with 3873 additions and 1553 deletions

View file

@ -317,7 +317,7 @@ class ImageItem extends FileItem {
$image = \Drupal::service('image.factory')->get($this->entity->getFileUri());
if ($image->isValid()) {
$this->width = $image->getWidth();
$this->height =$image->getHeight();
$this->height = $image->getHeight();
}
}
}
@ -366,7 +366,7 @@ class ImageItem extends FileItem {
'target_id' => $file->id(),
'alt' => $random->sentences(4),
'title' => $random->sentences(4),
'width' =>$width,
'width' => $width,
'height' => $height,
);
return $values;

View file

@ -29,4 +29,3 @@ class ImageFieldWidgetTest extends ImageFieldTestBase {
}
}

View file

@ -36,7 +36,7 @@ class ImageOnTranslatedEntityTest extends ImageFieldTestBase {
$this->fieldName = strtolower($this->randomMachineName());
$this->createImageField($this->fieldName, 'basicpage', [], ['title_field' => 1]);
// Create and login user.
// Create and log in user.
$permissions = array(
'access administration pages',
'administer content translation',