@trigger_error("comment_view() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal::entityTypeManager()->getViewBuilder('comment')->view() instead. See https://www.drupal.org/node/3033656",E_USER_DEPRECATED);
return\Drupal::entityTypeManager()
->getViewBuilder('comment')
->view($comment,$view_mode,$langcode);
}
/**
* Constructs render array from an array of loaded comments.
@trigger_error("comment_view_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal::entityTypeManager()->getViewBuilder('comment')->viewMultiple() instead. See https://www.drupal.org/node/3033656",E_USER_DEPRECATED);
return\Drupal::entityTypeManager()
->getViewBuilder('comment')
->viewMultiple($comments,$view_mode,$langcode);
}
/**
* Implements hook_form_FORM_ID_alter() for field_ui_field_storage_add_form.
@@ -479,14 +479,6 @@ public function setCreatedTime($created) {
return$this;
}
/**
* {@inheritdoc}
*/
publicfunctiongetStatus(){
@trigger_error(__NAMESPACE__.'\Comment::getStatus() is deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityPublishedInterface::isPublished() instead. See https://www.drupal.org/node/2830201',E_USER_DEPRECATED);
@trigger_error(__NAMESPACE__.'\DeleteComment is deprecated in Drupal 8.6.x, will be removed before Drupal 9.0.0. Use \Drupal\Core\Action\Plugin\Action\DeleteAction instead. See https://www.drupal.org/node/2934349.',E_USER_DEPRECATED);