class MetaService in Easymeta 8
Hierarchy
- class \Drupal\easymeta\MetaService
Expanded class hierarchy of MetaService
1 string reference to 'MetaService'
1 service uses MetaService
File
- src/
MetaService.php, line 8
Namespace
Drupal\easymetaView source
class MetaService {
protected $serviceValue;
/**
* When the service is created, set a value for the example variable.
*/
public function __construct() {
$this->serviceValue = \Drupal::config('easymeta.settings')
->get('use_og_meta');
}
/**
* Return the value of the example variable.
*/
public function getServiceMetaValue() {
return $this->serviceValue;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MetaService:: |
protected | property | ||
MetaService:: |
public | function | Return the value of the example variable. | |
MetaService:: |
public | function | When the service is created, set a value for the example variable. |