Skip to content
Snippets Groups Projects
Commit 06ece650 authored by Igor Biki's avatar Igor Biki Committed by Kevin Paxman
Browse files

ISTWCMS-7275: Update terminology from 'publication' to 'reference' in code

Revised function names, comments, and labels to replace 'publication' with 'reference' for consistency and clarity. This change ensures the terminology aligns better with the functionality and improves code readability.
parent 8506794b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment