Chris@17: getRequestWrapperFormat(), $wrapper) !== FALSE) { Chris@17: return TRUE; Chris@17: } Chris@17: } Chris@17: return FALSE; Chris@17: } Chris@17: Chris@17: /** Chris@17: * Gets the wrapper format of the current request. Chris@17: * Chris@17: * @string Chris@17: * The wrapper format. Chris@17: */ Chris@17: protected function getRequestWrapperFormat() { Chris@17: return \Drupal::request()->get(MainContentViewSubscriber::WRAPPER_FORMAT); Chris@17: } Chris@17: Chris@17: }