Skip to content

Commit 2c96933

Browse files
authored
[Object state] Change ez_lock identifier to ibexa_lock (#2824)
* Renamed ez_lock * Renamed settings variable * Reverted autogenerated changes
1 parent 29b9815 commit 2c96933

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

code_samples/api/public_php_api/src/Command/ObjectStateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
5151
$user = $this->userService->loadUserByLogin('admin');
5252
$this->permissionResolver->setCurrentUserReference($user);
5353

54-
$objectStateGroup = $this->objectStateService->loadObjectStateGroupByIdentifier('ez_lock');
54+
$objectStateGroup = $this->objectStateService->loadObjectStateGroupByIdentifier('ibexa_lock');
5555
$objectState = $this->objectStateService->loadObjectStateByIdentifier($objectStateGroup, 'locked');
5656

5757
$output->writeln($objectStateGroup->getName());

docs/administration/back_office/add_user_setting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Register the setting group as a service:
3939
[[= include_file('code_samples/back_office/settings/config/custom_services.yaml', 6, 9) =]]
4040
```
4141

42-
The value of the setting is accessible with `ez_user_settings['unit']`.
42+
The value of the setting is accessible with `ibexa_user_settings['unit']`.
4343

4444
## Create template for editing settings
4545

docs/content_management/data_migration/data_migration_actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ For more information, see [creating your own Actions](create_data_migration_acti
7676
mode: Create
7777
``` yaml
7878
actions:
79-
- { action: assign_object_state, identifier: locked, groupIdentifier: ez_lock }
79+
- { action: assign_object_state, identifier: locked, groupIdentifier: ibexa_lock }
8080
- { action: assign_parent_location, value: 2 }
8181
- { action: hide }
8282
```

docs/search/aggregation_reference/objectstateterm_aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The [ObjectStateTermAggregation](/api/php_api/php_api_reference/classes/Ibexa-Co
1515

1616
``` php
1717
$query = new Query();
18-
$query->aggregations[] = new Aggregation\Location\ObjectStateTermAggregation('object_state', 'ez_lock');
18+
$query->aggregations[] = new Aggregation\Location\ObjectStateTermAggregation('object_state', 'ibexa_lock');
1919
```
2020

2121
[[= include_file('docs/snippets/search_term_aggregation_settings.md') =]]

docs/search/criteria_reference/objectstateidentifier_criterion.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['ready']);
2020
```
2121

2222
``` php
23-
$query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock');
23+
$query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ibexa_lock');
2424
```
2525

2626
### REST API
@@ -32,7 +32,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock');
3232
<Filter>
3333
<ObjectStateIdentifierCriterion>
3434
<value>not_locked</value>
35-
<target>ez_lock</target>
35+
<target>ibexa_lock</target>
3636
</ObjectStateIdentifierCriterion>
3737
</Filter>
3838
</Query>
@@ -46,7 +46,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock');
4646
"Filter": {
4747
"ObjectStateIdentifierCriterion": {
4848
"value": "not_locked",
49-
"target": "ez_lock"
49+
"target": "ibexa_lock"
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)