Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
yeniatencio committed Dec 17, 2024
1 parent 40f6427 commit a425ad7
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions modules/tide_landing_page/tide_landing_page.module
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit a425ad7

Please sign in to comment.