Revert "Issue #1905750 by alexweber: Added implementations of hook_flag_type_info() on behalf of non-required core modules." This reverts commit 5be70f8c.