You are here

function layout_builder_st_module_implements_alter in Layout Builder Symmetric Translations 8

Implements hook_module_implements_alter().

File

./layout_builder_st.module, line 18

Code

function layout_builder_st_module_implements_alter(&$implementations, $hook) {
  switch ($hook) {

    // Move our hook_entity_type_alter() implementation to the end of the list.
    // it must run after layout_builder_st_entity_type_alter().
    case 'entity_type_alter':
      $group = $implementations['layout_builder_st'];
      unset($implementations['layout_builder_st']);
      $implementations['layout_builder_st'] = $group;
      break;
  }
}