Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jessebeach on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
Now that it is possible to configure the behavior of the node title widget using Entity form displays, the special flag to hide the title form element for nodes is no longer needed.
To hide the title for a certain node type, use the "Manage form display" UI or hide it with a snippet like the following:
$form_display = entity_get_form_display('node', 'article', 'default') {
$form_display->removeComponent('title');
$form_display->save();
Impacts:
Module developers