You are here

function layout_builder_st_modules_installed in Layout Builder Symmetric Translations 8

Implements hook_modules_installed().

File

./layout_builder_st.module, line 101

Code

function layout_builder_st_modules_installed($modules) {
  if (in_array('layout_builder_at', $modules)) {
    \Drupal::messenger()
      ->addError('Layout Builder Symmetric Translations is not compatible with Layout Builder Asymmetric Translations. One of these should be uninstalled');
  }
}