update($sandbox, 'node_type', function (NodeTypeInterface $node_type): bool { // @see node_node_type_presave() return trim($node_type->getDescription()) === '' || trim($node_type->getHelp()) === ''; }); } /** * Implements hook_removed_post_updates(). */ function node_removed_post_updates() { return [ 'node_post_update_configure_status_field_widget' => '9.0.0', 'node_post_update_node_revision_views_data' => '9.0.0', 'node_post_update_glossary_view_published' => '10.0.0', 'node_post_update_rebuild_node_revision_routes' => '10.0.0', 'node_post_update_modify_base_field_author_override' => '10.0.0', ]; }