Skip to content
Snippets Groups Projects

ISTWCMS-7275: Rename "publication" to "reference" in custom block.

Open Igor Biki requested to merge feature/ISTWCMS-7275-ibiki-publications_rename into 1.1.x
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -685,7 +685,7 @@ class UwBlockAutoElements {
}
/**
* Function to get the publication reference form elements.
* Function to get the reference form elements.
*
* @param array $form
* The form.
@@ -697,10 +697,10 @@ class UwBlockAutoElements {
array $config
): void {
// The publication reference container for element.
// The reference container for element.
$form['publication_reference'] = [
'#type' => 'fieldset',
'#title' => $this->t('Publication reference list settings'),
'#title' => $this->t('Reference list settings'),
'#states' => [
'visible' => [
'select[name="settings[content_type]"]' => [
@@ -710,7 +710,7 @@ class UwBlockAutoElements {
],
];
// The number of publications to show form element.
// The number of references to show a form element.
$form['publication_reference']['limit'] = $this->uwBlockService->getLimitPerBlockFormElement(
'publication_reference',
$config
Loading