|
|
|
@ -59,6 +59,7 @@ function media_attribution_modules_installed($modules) {
|
|
|
|
|
'collapse_edit_all' => 'collapse_edit_all', |
|
|
|
|
] |
|
|
|
|
], |
|
|
|
|
'weight' => 35, |
|
|
|
|
'type' => 'paragraphs', |
|
|
|
|
]) |
|
|
|
|
->save(); |
|
|
|
@ -70,7 +71,7 @@ function media_attribution_modules_installed($modules) {
|
|
|
|
|
$view_entity->setComponent('field_image_attribution', [ |
|
|
|
|
'type' => 'entity_reference_revisions_entity_view', |
|
|
|
|
'label' => 'hidden', |
|
|
|
|
'settings' => ['view_mode' => 'default', 'link' => ''], |
|
|
|
|
'settings' => ['view_mode' => 'license_attribution', 'link' => ''], |
|
|
|
|
])->save(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|