You are here

public function StringInterface::setId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setId()

Sets the string unique identifier.

Parameters

int $id: The string identifier.

Return value

$this

1 method overrides StringInterface::setId()
StringBase::setId in core/modules/locale/src/StringBase.php
Sets the string unique identifier.

File

core/modules/locale/src/StringInterface.php, line 31
Contains \Drupal\locale\StringInterface.

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function setId($id);