$selection_options = [
'target_type' => 'node',
'handler' => 'default',
- 'handler_settings' => [
- 'target_bundles' => NULL,
- ],
+ 'target_bundles' => NULL,
];
// Build a set of test data.
$selection_options = [
'target_type' => 'user',
'handler' => 'default',
- 'handler_settings' => [
- 'target_bundles' => NULL,
- 'include_anonymous' => TRUE,
- ],
+ 'target_bundles' => NULL,
+ 'include_anonymous' => TRUE,
];
// Build a set of test data.
$this->assertReferenceable($selection_options, $referenceable_tests, 'User handler (admin)');
// Test the 'include_anonymous' option.
- $selection_options['handler_settings']['include_anonymous'] = FALSE;
+ $selection_options['include_anonymous'] = FALSE;
$referenceable_tests = [
[
'arguments' => [
$selection_options = [
'target_type' => 'comment',
'handler' => 'default',
- 'handler_settings' => [
- 'target_bundles' => NULL,
- ],
+ 'target_bundles' => NULL,
];
// Build a set of test data.