Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$user = $this->userService->loadUserByLogin('admin');
$this->permissionResolver->setCurrentUserReference($user);

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

$output->writeln($objectStateGroup->getName());
Expand Down
2 changes: 1 addition & 1 deletion docs/administration/back_office/add_user_setting.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Register the setting group as a service:
[[= include_file('code_samples/back_office/settings/config/custom_services.yaml', 6, 9) =]]
```

The value of the setting is accessible with `ez_user_settings['unit']`.
The value of the setting is accessible with `ibexa_user_settings['unit']`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


## Create template for editing settings

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ For more information, see [creating your own Actions](create_data_migration_acti
mode: Create
``` yaml
actions:
- { action: assign_object_state, identifier: locked, groupIdentifier: ez_lock }
- { action: assign_object_state, identifier: locked, groupIdentifier: ibexa_lock }
- { action: assign_parent_location, value: 2 }
- { action: hide }
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The [ObjectStateTermAggregation](/api/php_api/php_api_reference/classes/Ibexa-Co

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

[[= include_file('docs/snippets/search_term_aggregation_settings.md') =]]
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['ready']);
```

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

### REST API
Expand All @@ -32,7 +32,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock');
<Filter>
<ObjectStateIdentifierCriterion>
<value>not_locked</value>
<target>ez_lock</target>
<target>ibexa_lock</target>
</ObjectStateIdentifierCriterion>
</Filter>
</Query>
Expand All @@ -46,7 +46,7 @@ $query->query = new Criterion\ObjectStateIdentifier(['not_locked'], 'ez_lock');
"Filter": {
"ObjectStateIdentifierCriterion": {
"value": "not_locked",
"target": "ez_lock"
"target": "ibexa_lock"
}
}
}
Expand Down
Loading