Change record status: 
Introduced in branch: 
master
Introduced in version: 
master
Description: 

In order to have easier-to-read code, it's better to use magic calls instead of get methods.

The issue has been caught here.

Before

if ($node->get('field_profile_website')->getvalue()[0]['uri']) {
...

After

if ($node->field_profile_website->value['uri']) {
...
Impacts: 
Module developers

Comments

podarok’s picture