You are here

public function EntityBrowser::setLabel in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Entity/EntityBrowser.php \Drupal\entity_browser\Entity\EntityBrowser::setLabel()

Sets the label of the entity browser.

Parameters

string $label: The label of the entity browser.

Return value

\Drupal\entity_browser\EntityBrowserInterface The class instance this method is called on.

Overrides EntityBrowserInterface::setLabel

File

src/Entity/EntityBrowser.php, line 197

Class

EntityBrowser
Defines an entity browser configuration entity.

Namespace

Drupal\entity_browser\Entity

Code

public function setLabel($label) {
  $this->label = $label;
  return $this;
}