You are here

public function Simplesitemap::get_config in Simple XML sitemap 8

Gets a specific sitemap configuration from the configuration storage.

Return value

mixed The requested configuration.

3 calls to Simplesitemap::get_config()
Simplesitemap::generate_sitemap in src/Simplesitemap.php
Generates the sitemap for all languages and saves it to the db.
Simplesitemap::get_setting in src/Simplesitemap.php
Gets a specific sitemap setting.
Simplesitemap::save_setting in src/Simplesitemap.php
Saves a specific sitemap setting to db.

File

src/Simplesitemap.php, line 118
Contains \Drupal\simplesitemap\Simplesitemap.

Class

Simplesitemap
Simplesitemap class.

Namespace

Drupal\simplesitemap

Code

public function get_config($key) {
  return $this->config
    ->get($key);
}