You are here

private function ReferenceUpgrader::throwNeedsId in Inline Entity Form 8

1 call to ReferenceUpgrader::throwNeedsId()
ReferenceUpgrader::registerEntity in src/ReferenceUpgrader.php

File

src/ReferenceUpgrader.php, line 33

Class

ReferenceUpgrader
Class ReferenceUpgrader

Namespace

Drupal\inline_entity_form

Code

private function throwNeedsId() {
  throw new \RuntimeException("Can only register entity with ID.");
}