Translations:Manual:Extension registration/77/en

or by checking, if a constant (which needs to be set in extension B's PHP entry point) is defined: