Commit 322e96ff authored by alexpott's avatar alexpott

Issue #2657826 by er.pushpinderrana: FieldHandlerInterface::getEntity() can also return NULL

parent e1bcc7f2
......@@ -116,8 +116,9 @@ public function elementWrapperClasses($row_index = NULL);
* @param \Drupal\views\ResultRow $values
* An object containing all retrieved values.
* @return \Drupal\Core\Entity\EntityInterface
* Returns the entity matching the values.
* @return \Drupal\Core\Entity\EntityInterface|null
* Returns the entity matching the values or NULL if there is no matching
* entity.
public function getEntity(ResultRow $values);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment