You are here

public static function MetatagManager::protectedDefaults in Metatag 8

Returns the list of protected defaults.

Return value

array Th protected defaults.

3 calls to MetatagManager::protectedDefaults()
MetatagAdminTest::testDefaultProtected in tests/src/Functional/MetatagAdminTest.php
Test that protected Metatag defaults cannot be deleted.
MetatagDefaultsForm::actions in src/Form/MetatagDefaultsForm.php
Returns an array of supported actions for the current entity form.
MetatagDefaultsListBuilder::getOperations in src/MetatagDefaultsListBuilder.php
Provides an array of information to build a list of operation links.

File

src/MetatagManager.php, line 98

Class

MetatagManager
Class MetatagManager.

Namespace

Drupal\metatag

Code

public static function protectedDefaults() {
  return [
    'global',
    '403',
    '404',
    'node',
    'front',
    'taxonomy_term',
    'user',
  ];
}