You are here

public function OgFieldBase::setBundle in Organic groups 8

Set the bundle.

Parameters

string $bundle: The entity bundle.

Return value

$this

Overrides OgFieldsInterface::setBundle

File

src/OgFieldBase.php, line 38

Class

OgFieldBase
OG related fields base plugin.

Namespace

Drupal\og

Code

public function setBundle($bundle) {
  $this->bundle = $bundle;
  return $this;
}