code: public static function beforeFeature(Scope\BeforeFeatureScope $scope)
      {
          self::collectTags($scope->getFeature()->getTags());
  
          // Database will be cloned for every feature with @cloneDB tag.
          if (self::hasTag('clonedb')) {
              self::$database = clone new Database(self::getTag('clonedb', 'default'));
          }
  
          static::setDrupalVariables([
              // Set to "false", because the administration menu will not be rendered.
              // @see https://www.drupal.org/node/2023625#comment-8607207
              'admin_menu_cache_client' => false,
          ]);
  
          static::injectCustomJavascript('CatchErrors');
      }
docs: @param Scope\BeforeFeatureScope $scope
  Scope of the processing feature.
  
  @BeforeFeature