public function LingotekConfigChunk::setProjectId in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::setProjectId()
- 7.5 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 527 - 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;
}