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