comparison core/modules/field/src/Tests/FieldTestBase.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children af1871eacc83
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
34 /** 34 /**
35 * Assert that a field has the expected values in an entity. 35 * Assert that a field has the expected values in an entity.
36 * 36 *
37 * This function only checks a single column in the field values. 37 * This function only checks a single column in the field values.
38 * 38 *
39 * @param EntityInterface $entity 39 * @param \Drupal\Core\Entity\EntityInterface $entity
40 * The entity to test. 40 * The entity to test.
41 * @param $field_name 41 * @param $field_name
42 * The name of the field to test 42 * The name of the field to test
43 * @param $expected_values 43 * @param $expected_values
44 * The array of expected values. 44 * The array of expected values.