You are here

public function LibraryAction::action in Library 8

Returns the action.

@todo Verify that this call is internally consistent (instead of $id).

Return value

int The action by legacy ID.

Overrides LibraryActionInterface::action

File

src/Entity/LibraryAction.php, line 71

Class

LibraryAction
Defines the Library action entity.

Namespace

Drupal\library\Entity

Code

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