You are here

public function LingotekConfigChunk::setProjectId in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.3 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::setProjectId()
  2. 7.4 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::setProjectId()

Set the chunk's project ID in the config metadata table

File

lib/Drupal/lingotek/LingotekConfigChunk.php, line 547
Defines LingotekConfigChunk.

Class

LingotekConfigChunk
A class wrapper for Lingotek-specific behavior on ConfigChunks.

Code

public function setProjectId($project_id) {
  $this
    ->setMetadataValue('project_id', $project_id);
  return $this;
}