public function CloudBlockBase::get in Gutenberg 8
Same name and namespace in other branches
- 8.2 modules/gutenberg_cloud/src/CloudBlockBase.php \Drupal\gutenberg_cloud\CloudBlockBase::get()
Getter for object properties.
Parameters
string $property: Property name.
Return value
mixed|null Properety value or NULL if property doesn't exists.
Overrides CloudBlockInterface::get
1 call to CloudBlockBase::get()
- CloudBlock::getAssetUrl in modules/
gutenberg_cloud/ src/ CloudBlock.php - Get asset URL.
File
- modules/
gutenberg_cloud/ src/ CloudBlockBase.php, line 141
Class
- CloudBlockBase
- Class CloudBlockBase.
Namespace
Drupal\gutenberg_cloudCode
public function get(string $property) {
return $this
->getConfig()[$property] ?? NULL;
}