X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fmetatag%2Fsrc%2FTests%2FMetatagFieldTestTest.php;fp=web%2Fmodules%2Fcontrib%2Fmetatag%2Fsrc%2FTests%2FMetatagFieldTestTest.php;h=95f7da176d17558d2cc35d950ada5fe7a2d93435;hp=5b7ba9feb5c7d185f2f8cecd26a667f7e02a1f8b;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/metatag/src/Tests/MetatagFieldTestTest.php b/web/modules/contrib/metatag/src/Tests/MetatagFieldTestTest.php index 5b7ba9feb..95f7da176 100644 --- a/web/modules/contrib/metatag/src/Tests/MetatagFieldTestTest.php +++ b/web/modules/contrib/metatag/src/Tests/MetatagFieldTestTest.php @@ -2,9 +2,6 @@ namespace Drupal\metatag\Tests; -use Drupal\Core\Cache\Cache; -use Drupal\metatag\Tests\MetatagFieldTestBase; - /** * Ensure that the Metatag field works correctly for the test entity. * @@ -13,7 +10,7 @@ use Drupal\metatag\Tests\MetatagFieldTestBase; class MetatagFieldTestTest extends MetatagFieldTestBase { /** - * {@inheritDoc} + * {@inheritdoc} */ public static $modules = [ // Needed for token handling. @@ -36,47 +33,51 @@ class MetatagFieldTestTest extends MetatagFieldTestBase { ]; /** - * {@inheritDoc} + * {@inheritdoc} */ - protected $entity_perms = [ + protected $entityPerms = [ 'view test entity', 'administer entity_test fields', 'administer entity_test content', ]; /** - * {@inheritDoc} + * {@inheritdoc} */ - protected $entity_type = 'entity_test'; + protected $entityType = 'entity_test'; /** - * {@inheritDoc} + * {@inheritdoc} */ - protected $entity_label = 'Test entity'; + protected $entityLabel = 'Test entity'; /** - * {@inheritDoc} + * {@inheritdoc} */ - protected $entity_bundle = 'entity_test'; + protected $entityBundle = 'entity_test'; /** - * {@inheritDoc} + * {@inheritdoc} */ - protected $entity_add_path = 'entity_test/add'; + protected $entityAddPath = 'entity_test/add'; /** - * {@inheritDoc} + * {@inheritdoc} */ - protected $entity_field_admin_path = 'entity_test/structure/entity_test/fields'; + protected $entityFieldAdminPath = 'entity_test/structure/entity_test/fields'; /** + * Whether or not the entity type supports defaults. + * + * @var bool + * * @todo Fix this. */ - protected $entity_supports_defaults = FALSE; + protected $entitySupportsDefaults = FALSE; /** - * {@inheritDoc} + * {@inheritdoc} */ - protected $entity_title_field = 'name'; + protected $entityTitleField = 'name'; }