You are here

public function WebformEntityHandler::setEntityTypeBundleInfo in Webform Entity Handler 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/WebformHandler/WebformEntityHandler.php \Drupal\webform_entity_handler\Plugin\WebformHandler\WebformEntityHandler::setEntityTypeBundleInfo()

Sets the entity type bundle info for this handler.

Parameters

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

Return value

$this

File

src/Plugin/WebformHandler/WebformEntityHandler.php, line 644

Class

WebformEntityHandler
Create or update an entity with a webform submission values.

Namespace

Drupal\webform_entity_handler\Plugin\WebformHandler

Code

public function setEntityTypeBundleInfo(EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  return $this;
}