ForumManagerInterface::checkNodeType

public ForumManagerInterface::checkNodeType(NodeInterface $node)

Checks whether a node can be used in a forum, based on its content type.

Parameters

\Drupal\node\NodeInterface $node: A node entity.

Return value

bool Boolean indicating if the node can be assigned to a forum.

File

core/modules/forum/src/ForumManagerInterface.php, line 77

Class

ForumManagerInterface
Provides forum manager interface.

Namespace

Drupal\forum

Code

public function checkNodeType(NodeInterface $node);
doc_Drupal
2016-10-29 09:17:14
Comments
Leave a Comment

Please login to continue.