You are here

public function EntityBrowser::id in Entity Browser 8

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

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides EntityBase::id

4 calls to EntityBrowser::id()
EntityBrowser::displayPluginCollection in src/Entity/EntityBrowser.php
Returns display plugin collection.
EntityBrowser::getWidgets in src/Entity/EntityBrowser.php
Returns the widgets for this entity browser.
EntityBrowser::route in src/Entity/EntityBrowser.php
Gets route that matches this display.
EntityBrowser::selectionDisplayPluginCollection in src/Entity/EntityBrowser.php
Returns selection display plugin collection.

File

src/Entity/EntityBrowser.php, line 168

Class

EntityBrowser
Defines an entity browser configuration entity.

Namespace

Drupal\entity_browser\Entity

Code

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