Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
|
@ -147,7 +147,7 @@ display:
|
|||
plugin_id: field
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
value: '1'
|
||||
table: node_field_data
|
||||
field: status
|
||||
plugin_id: boolean
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ class LinkItemTest extends FieldKernelTestBase {
|
|||
|
||||
// Verify that the field value is changed.
|
||||
$id = $entity->id();
|
||||
$entity = entity_load('entity_test', $id);
|
||||
$entity = EntityTest::load($id);
|
||||
$this->assertTrue($entity->field_test instanceof FieldItemListInterface, 'Field implements interface.');
|
||||
$this->assertTrue($entity->field_test[0] instanceof FieldItemInterface, 'Field item implements interface.');
|
||||
$this->assertEqual($entity->field_test->uri, $parsed_url['path']);
|
||||
|
|
@ -106,7 +106,7 @@ class LinkItemTest extends FieldKernelTestBase {
|
|||
$entity->name->value = $this->randomMachineName();
|
||||
$entity->save();
|
||||
$id = $entity->id();
|
||||
$entity = entity_load('entity_test', $id);
|
||||
$entity = EntityTest::load($id);
|
||||
$this->assertEqual($entity->field_test->uri, $parsed_url['path']);
|
||||
$this->assertEqual($entity->field_test->options['attributes']['class'], $class);
|
||||
$this->assertEqual($entity->field_test->options['query'], $parsed_url['query']);
|
||||
|
|
@ -126,7 +126,7 @@ class LinkItemTest extends FieldKernelTestBase {
|
|||
|
||||
// Read changed entity and assert changed values.
|
||||
$entity->save();
|
||||
$entity = entity_load('entity_test', $id);
|
||||
$entity = EntityTest::load($id);
|
||||
$this->assertEqual($entity->field_test->uri, $new_url);
|
||||
$this->assertEqual($entity->field_test->title, $new_title);
|
||||
$this->assertEqual($entity->field_test->options['attributes']['class'], $new_class);
|
||||
|
|
|
|||
Reference in a new issue