You are here

function metatag_config_load in Metatag 7

Load a metatag configuration record.

32 calls to metatag_config_load()
MetatagCoreImageTest::testConfigAbsoluteURL in tests/MetatagCoreImageTest.test
Confirm images can be added to a global config with its absolute URL.
MetatagCoreImageTest::testConfigDrupalRelativeURL in tests/MetatagCoreImageTest.test
Confirm images can be added to a global config using its relative URL.
MetatagCoreImageTest::testConfigImageWithSpaceInURL in tests/MetatagCoreImageTest.test
Confirm images with a space in its URL will be handled properly.
MetatagCoreImageTest::testConfigInternalURL in tests/MetatagCoreImageTest.test
Confirm images can be added to a global config with its internal URI.
MetatagCoreImageTest::testConfigProtocolRelativeURL in tests/MetatagCoreImageTest.test
Confirm images can be added to a global config w its protocol-relative URL.

... See full list

2 string references to 'metatag_config_load'
metatag_hook_info in ./metatag.module
Implements hook_hook_info().
metatag_i18n_object_info in ./metatag.i18n.inc
Implements hook_i18n_object_info().

File

./metatag.module, line 445
Primary hook implementations for Metatag.

Code

function metatag_config_load($instance) {
  $results = metatag_config_load_multiple(array(
    $instance,
  ));
  return !empty($results[$instance]) ? $results[$instance] : FALSE;
}