public function EntityCrudOutputWrapper::getEntity in GraphQL 8.3
Returns the entity that was created.
Return value
\Drupal\Core\Entity\EntityInterface|null The created entity object or NULL if creation failed.
File
- modules/
graphql_core/ src/ GraphQL/ EntityCrudOutputWrapper.php, line 58
Class
Namespace
Drupal\graphql_core\GraphQLCode
public function getEntity() {
return $this->entity;
}