You are here

public function ContentTypeInterface::getFormObject in Opigno group manager 8

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

Get the form object based on the entity ID.

If no entity given in parameter, return the entity creation form object.

Parameters

int $entity_id: The entity ID.

Return value

\Drupal\Core\Entity\EntityFormInterface Form.

File

src/ContentTypeInterface.php, line 88

Class

ContentTypeInterface
Interface ContentTypeInterface.

Namespace

Drupal\opigno_group_manager

Code

public function getFormObject($entity_id = NULL);