Skip to content
Snippets Groups Projects
Commit b13a82c2 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1778122 follow-up by beejeebus: Added missing = sign.

parent dd841baf
No related branches found
No related tags found
No related merge requests found
......@@ -500,7 +500,7 @@ function _entity_test_record_hooks($hook, $data) {
*/
function entity_test_entity_prepare_view($entity_type, array $entities, array $displays) {
// Add a dummy field item attribute on field_test_text if it exists.
if ($entity_type = 'entity_test_render') {
if ($entity_type == 'entity_test_render') {
foreach ($entities as $entity) {
if ($entity->getPropertyDefinition('field_test_text')) {
foreach ($entity->get('field_test_text') as $item) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment