You are here

public function ContentTypeInterface::getContentFromRequest in Opigno group manager 8

Same name and namespace in other branches
  1. 3.x src/ContentTypeInterface.php \Drupal\opigno_group_manager\ContentTypeInterface::getContentFromRequest()

Try to get the content from a Request object.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request object.

Return value

LearningPathContent|false The content if possible. FALSE otherwise.

File

src/ContentTypeInterface.php, line 74

Class

ContentTypeInterface
Interface ContentTypeInterface.

Namespace

Drupal\opigno_group_manager

Code

public function getContentFromRequest(Request $request);