Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-10015: Configure and update stage file proxy, update coder modules, phpcs fixes #632

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ DRUPAL_HOSTNAME=helfi-kasko.docker.so
# OpenShift project name
OC_PROJECT_NAME=hki-kasko-kasvatus-koulutus-test

STAGE_FILE_PROXY_ORIGIN=
STAGE_FILE_PROXY_ORIGIN_DIR=
STAGE_FILE_PROXY_ORIGIN=https://stplattaprod.blob.core.windows.net
STAGE_FILE_PROXY_ORIGIN_DIR=kasvatuskoulutus76e5cprod

COMPOSE_PROFILES=search,queue

Expand Down
70 changes: 35 additions & 35 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions public/modules/custom/helfi_group/helfi_group.module
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function helfi_group_entity_field_access(
$operation,
FieldDefinitionInterface $field_definition,
AccountInterface $account,
FieldItemListInterface $items = NULL
FieldItemListInterface $items = NULL,
) {
if ($field_definition->getname() == 'status' && !empty($items)) {
/** @var \Drupal\node\Entity\Node $entity */
Expand Down Expand Up @@ -201,7 +201,7 @@ function helfi_group_module_implements_alter(&$implementations, $hook) : void {
*/
function helfi_group_form_node_form_alter(
array &$form,
FormStateInterface $form_state
FormStateInterface $form_state,
): void {
$form['actions']['submit']['#submit'][] = 'helfi_group_menuitem_set_content_translation_status';

Expand Down Expand Up @@ -262,7 +262,7 @@ function helfi_group_form_node_form_alter(
*/
function helfi_group_menuitem_set_content_translation_status(
array &$form,
FormStateInterface $form_state
FormStateInterface $form_state,
) : void {
$menu_parent = $form['menu']['link']['menu_parent']['#default_value'];
if (!$menu_parent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function create(
ContainerInterface $container,
array $configuration,
$plugin_id,
$plugin_definition
$plugin_definition,
) : self {
return new self(
$configuration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function create(
ContainerInterface $container,
array $configuration,
$plugin_id,
$plugin_definition
$plugin_definition,
) : static {
$instance = parent::create($container, $configuration, $plugin_id,
$plugin_definition);
Expand Down