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