From a425ad792552f2e44d3dab79cf2c7ba418b65166 Mon Sep 17 00:00:00 2001 From: Yeni Atencio Date: Tue, 17 Dec 2024 16:27:14 +1100 Subject: [PATCH] clean up --- .../tide_landing_page/tide_landing_page.module | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/modules/tide_landing_page/tide_landing_page.module b/modules/tide_landing_page/tide_landing_page.module index cd8a601f..f32c1f6a 100644 --- a/modules/tide_landing_page/tide_landing_page.module +++ b/modules/tide_landing_page/tide_landing_page.module @@ -71,24 +71,6 @@ function tide_landing_page_entity_bundle_create($entity_type_id, $bundle) { * Implements hook_form_BASE_FORM_ID_alter(). */ function tide_landing_page_form_node_form_alter(&$form, FormStateInterface $form_state, $form_id) { - $bundles = [ - 'landing_page', - 'publication', - 'publication_page', - ]; - - foreach ($bundles as $bundle) { - $field = FieldConfig::loadByName('node', $bundle, 'field_landing_page_hero_theme'); - // if (!empty($field)) { - // $field->setLabel('Page title display style'); - // $field->setRequired(TRUE); - // $field->setDefaultValue('light'); - // $field->save(); - // } - dump($field); - } - - if (in_array($form_id, [ 'node_landing_page_form', 'node_landing_page_edit_form',