public function ReferenceType::setCitekeyPattern in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Entity/ReferenceType.php \Drupal\bibcite_entity\Entity\ReferenceType::setCitekeyPattern()
Sets pattern for citekey generation.
Parameters
string $citekey: String of pattern.
Return value
$this
Overrides ReferenceTypeInterface::setCitekeyPattern
File
- modules/
bibcite_entity/ src/ Entity/ ReferenceType.php, line 181
Class
- ReferenceType
- Defines the Reference type entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function setCitekeyPattern($citekey) {
$this->citekey_pattern = $citekey;
return $this;
}