forked from hechoendrupal/drupal-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.yml
31 lines (31 loc) · 1.53 KB
/
services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
console.root:
class: SplString
console.redbean:
class: RedBeanPHP\R
console.validator:
class: Drupal\Console\Utils\Validator
arguments: ['@console.extension_manager']
console.drupal_api:
class: Drupal\Console\Utils\DrupalApi
arguments: ['@app.root', '@entity_type.manager', '@http_client']
console.create_node_data:
class: Drupal\Console\Utils\Create\NodeData
arguments: ['@entity_type.manager', '@entity_field.manager', '@date.formatter', '@=service("console.drupal_api").getBundles()']
console.create_comment_data:
class: Drupal\Console\Utils\Create\CommentData
arguments: ['@entity_type.manager', '@entity_field.manager', '@date.formatter']
console.create_term_data:
class: Drupal\Console\Utils\Create\TermData
arguments: ['@entity_type.manager', '@entity_field.manager', '@date.formatter', '@=service("console.drupal_api").getVocabularies()']
console.create_user_data:
class: Drupal\Console\Utils\Create\UserData
arguments: ['@entity_type.manager', '@entity_field.manager', '@date.formatter', '@=service("console.drupal_api").getRoles()']
console.create_vocabulary_data:
class: Drupal\Console\Utils\Create\VocabularyData
arguments: ['@entity_type.manager', '@entity_field.manager', '@date.formatter']
console.annotation_command_reader:
class: Drupal\Console\Annotations\DrupalCommandAnnotationReader
console.annotation_validator:
class: Drupal\Console\Utils\AnnotationValidator
arguments: ['@console.annotation_command_reader', '@console.extension_manager']