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\entityconnectCode
public function setAcceptableTypes(array $acceptableTypes) {
$this->acceptableTypes = $acceptableTypes;
}