You are here

public function EntityBrowser::setName in Entity Browser 8

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

Sets the name of the entity browser.

Parameters

string $name: The name of the entity browser.

Return value

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

Overrides EntityBrowserInterface::setName

File

src/Entity/EntityBrowser.php, line 182

Class

EntityBrowser
Defines an entity browser configuration entity.

Namespace

Drupal\entity_browser\Entity

Code

public function setName($name) {
  $this->name = $name;
  return $this;
}