You are here

public function CourseHandler::getAccessMessages in Course 3.x

Same name and namespace in other branches
  1. 8.3 src/Helper/CourseHandler.php \Drupal\course\Helper\CourseHandler::getAccessMessages()
  2. 8.2 src/Helper/CourseHandler.php \Drupal\course\Helper\CourseHandler::getAccessMessages()

Get an array of access messages.

Return value

array

File

src/Helper/CourseHandler.php, line 231

Class

CourseHandler
Master class for a course related content entity.

Namespace

Drupal\course\Helper

Code

public function getAccessMessages() {
  return $this
    ->setAccessMessage();
}