diff --git a/core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php b/core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php index 494c333..01769b5 100644 --- a/core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php +++ b/core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php @@ -167,7 +167,7 @@ public function preRender(&$values); * @param \Drupal\views\ResultRow $values * The values retrieved from a single row of a view's query result. * - * @return string + * @return string|\Drupal\Component\Utility\SafeStringInterface * The rendered output. * */ @@ -202,7 +202,7 @@ public function postRender(ResultRow $row, $output); * @param \Drupal\views\ResultRow $values * The values retrieved from a single row of a view's query result. * - * @return string + * @return string|\Drupal\Component\Utility\SafeStringInterface * The advanced rendered output. * */ @@ -237,7 +237,7 @@ public function isValueEmpty($value, $empty_zero, $no_skip_empty = TRUE); * - html: Make sure that the html is correct. * * @return string|\Drupal\Component\Utility\SafeStringInterface - * The rendered output, or a SafeString object. + * The rendered output. */ public function renderText($alter); @@ -280,7 +280,7 @@ public function getRenderTokens($item); * @param \Drupal\views\ResultRow $values * Holds single row of a view's result set. * - * @return string|false + * @return string|\Drupal\Component\Utility\SafeStringInterface * Returns rendered output of the given theme implementation. */ function theme(ResultRow $values);