public function SchemaFactory::__construct in Schemata 8
Constructs a SchemaBuilder.
Parameters
\Psr\Log\LoggerInterface $logger: Logger.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The EntityTypeManager to extract details of entity types.
\Drupal\Core\Entity\EntityTypeBundleInfo $entity_type_bundle_info: The EntityTypeManager to extract details of entity types.
\Drupal\Core\TypedData\TypedDataManager $typed_data_manager: The TypedDataManager to extract meaning of individual Entity properties.
File
- src/
SchemaFactory.php, line 63
Class
- SchemaFactory
- Create an object of type Drupal\schemata\Schema\SchemaInterface.
Namespace
Drupal\schemataCode
public function __construct(LoggerInterface $logger, EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfo $entity_type_bundle_info, TypedDataManager $typed_data_manager) {
$this->logger = $logger;
$this->entityTypeManager = $entity_type_manager;
$this->entityTypeBundleInfo = $entity_type_bundle_info;
$this->typedDataManager = $typed_data_manager;
}