You are here

public function EntityconnectWidgetProcessor::setAcceptableTypes in Entity connect 8.2

Sets the target bundles.

Parameters

array $acceptableTypes: Array of acceptable bundles.

File

src/EntityconnectWidgetProcessor.php, line 374

Class

EntityconnectWidgetProcessor
A reference field widget processing class for entityconnect module.

Namespace

Drupal\entityconnect

Code

public function setAcceptableTypes(array $acceptableTypes) {
  $this->acceptableTypes = $acceptableTypes;
}