publicfunctiongetFormObject($entity_type_id, $operation){ if(!$class = $this->getDefinition($entity_type_id, TRUE)->getFormClass($operation)){ thrownewInvalidPluginDefinitionException($entity_type_id, sprintf('The "%s" entity type did not specify a "%s" form class.', $entity_type_id, $operation)); }