trait BlazyPropertiesTestTrait in Blazy 8
Same name and namespace in other branches
- 8.2 tests/src/Traits/BlazyPropertiesTestTrait.php \Drupal\Tests\blazy\Traits\BlazyPropertiesTestTrait
A Trait common for Blazy tests.
Hierarchy
- trait \Drupal\Tests\blazy\Traits\BlazyPropertiesTestTrait
File
- tests/
src/ Traits/ BlazyPropertiesTestTrait.php, line 8
Namespace
Drupal\Tests\blazy\TraitsView source
trait BlazyPropertiesTestTrait {
/**
* The blazy admin service.
*
* @var \Drupal\blazy\Form\BlazyAdminInterface
*/
protected $blazyAdmin;
/**
* The blazy admin service.
*
* @var \Drupal\blazy\Form\BlazyAdminFormatter
*/
protected $blazyAdminFormatter;
/**
* The blazy manager service.
*
* @var \Drupal\blazy\BlazyManagerInterface
*/
protected $blazyManager;
/**
* The entity manager.
*
* @var \Drupal\Core\Entity\EntityFieldManagerInterface
*/
protected $entityFieldManager;
/**
* The entity display.
*
* @var \Drupal\Core\Entity\Display\EntityViewDisplayInterface
*/
protected $display;
/**
* The node entity.
*
* @var \Drupal\node\NodeInterface
*/
protected $node;
/**
* The entity.
*
* @var \Drupal\Core\Entity\EntityInterface
*/
protected $entity;
/**
* The entity.
*
* @var \Drupal\Core\Entity\EntityInterface
*/
protected $entities;
/**
* The node entity.
*
* @var \Drupal\Core\Entity\EntityInterface
*/
protected $referencingEntity;
/**
* The referenced node entity.
*
* @var \Drupal\Core\Entity\EntityInterface
*/
protected $referencedEntity;
/**
* The bundle name.
*
* @var string
*/
protected $bundle;
/**
* The target bundle names.
*
* @var array
*/
protected $targetBundles;
/**
* The tested entity type.
*
* @var string
*/
protected $entityType;
/**
* The created item.
*
* @var string
*/
protected $testItem;
/**
* The created items.
*
* @var array
*/
protected $testItems = [];
/**
* The formatter definition.
*
* @var array
*/
protected $formatterDefinition = [];
/**
* The formatter plugin manager.
*
* @var \Drupal\Core\Field\FormatterPluginManager
*/
protected $formatterPluginManager;
/**
* The tested type definitions.
*
* @var array
*/
protected $typeDefinition = [];
/**
* The tested field name.
*
* @var string
*/
protected $testFieldName;
/**
* The tested field type.
*
* @var string
*/
protected $testFieldType;
/**
* The tested empty field name.
*
* @var string
*/
protected $testEmptyName;
/**
* The tested empty field type.
*
* @var string
*/
protected $testEmptyType;
/**
* The tested formatter ID.
*
* @var string
*/
protected $testPluginId;
/**
* The tested entity reference formatter ID.
*
* @var string
*/
protected $entityPluginId;
/**
* The maximum number of created paragraphs.
*
* @var int
*/
protected $maxParagraphs = 1;
/**
* The maximum number of created images.
*
* @var int
*/
protected $maxItems = 1;
/**
* The tested skins.
*
* @var array
*/
protected $skins = [];
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BlazyPropertiesTestTrait:: |
protected | property | The blazy admin service. | |
BlazyPropertiesTestTrait:: |
protected | property | The blazy admin service. | |
BlazyPropertiesTestTrait:: |
protected | property | The blazy manager service. | |
BlazyPropertiesTestTrait:: |
protected | property | The bundle name. | |
BlazyPropertiesTestTrait:: |
protected | property | The entity display. | |
BlazyPropertiesTestTrait:: |
protected | property | The entity. | |
BlazyPropertiesTestTrait:: |
protected | property | The entity. | |
BlazyPropertiesTestTrait:: |
protected | property | The entity manager. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested entity reference formatter ID. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested entity type. | |
BlazyPropertiesTestTrait:: |
protected | property | The formatter definition. | |
BlazyPropertiesTestTrait:: |
protected | property | The formatter plugin manager. | |
BlazyPropertiesTestTrait:: |
protected | property | The maximum number of created images. | |
BlazyPropertiesTestTrait:: |
protected | property | The maximum number of created paragraphs. | |
BlazyPropertiesTestTrait:: |
protected | property | The node entity. | |
BlazyPropertiesTestTrait:: |
protected | property | The referenced node entity. | |
BlazyPropertiesTestTrait:: |
protected | property | The node entity. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested skins. | |
BlazyPropertiesTestTrait:: |
protected | property | The target bundle names. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested empty field name. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested empty field type. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested field name. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested field type. | |
BlazyPropertiesTestTrait:: |
protected | property | The created item. | |
BlazyPropertiesTestTrait:: |
protected | property | The created items. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested formatter ID. | |
BlazyPropertiesTestTrait:: |
protected | property | The tested type definitions. |