src/ContaoManager/Plugin.php
public function getBundles(ParserInterface $parser)
    {
        $loadAfter = [ContaoCoreBundle::class, ContaoBootstrapCoreBundle::class];

        if (class_exists(ContaoBootstrapGridBundle::class)) {
            $loadAfter[] = ContaoBootstrapGridBundle::class;
        }

        return [
            BundleConfig::create(ContaoBootstrapTabBundle::class)
                ->setLoadAfter($loadAfter)
        ];
    }
public function getBundles(ParserInterface $parser)
    {
        $loadAfter = [ContaoCoreBundle::class, ContaoBootstrapCoreBundle::class];

        if (class_exists(ContaoBootstrapGridBundle::class)) {
            $loadAfter[] = ContaoBootstrapGridBundle::class;
        }

        return [
            BundleConfig::create(ContaoBootstrapTabBundle::class)
                ->setLoadAfter($loadAfter)
        ];
    }
{@inheritdoc}