You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ensures a valid display is returned even when it doesn't yet exist as saved configuration, just as entity_get_display() and entity_get_form_display() did.
The text was updated successfully, but these errors were encountered:
Since https://www.drupal.org/node/2367933 / https://git.drupalcode.org/project/drupal/commit/da94d7fc6b6cd06a26c065ab8db640e9a0bb8671#7f7e72269405002d6602cb72b6155307148e699d_523_487 , the deprecation solution for usage of entity_get_display() and entity_get_form_display() have changed. The solutions should now be:
and
This ensures a valid display is returned even when it doesn't yet exist as saved configuration, just as
entity_get_display()
andentity_get_form_display()
did.The text was updated successfully, but these errors were encountered: