Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / src / Tests / MetatagFieldTestTest.php
index 5b7ba9feb5c7d185f2f8cecd26a667f7e02a1f8b..95f7da176d17558d2cc35d950ada5fe7a2d93435 100644 (file)
@@ -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';
 
 }