upgraded core, fixed customs modules

This commit is contained in:
2022-02-15 11:22:01 +01:00
parent 7bc35bdc1f
commit 1f07e66fe6
82 changed files with 38856 additions and 1772 deletions

View File

@@ -9,7 +9,7 @@ use \Drupal\Core\Form\FormStateInterface;
use \Drupal\Core\Block\BlockPluginInterface;
use \Drupal\Core\Url;
use \Drupal\Core\Link;
use \Drupal\materio_user\MaterioUserLoginBlockAlterRender;
/**
* implements hook_form_FORM_ID_alter()
*
@@ -121,10 +121,12 @@ function _materio_user_process_password_confirm($element){
/**
* implements hook_block_view_BASE_BLOCK_ID_alter()
*
* https://www.drupal.org/project/drupal/issues/2626224
* OLD D8 https://www.drupal.org/project/drupal/issues/2626224
* NEW D9 https://www.drupal.org/node/2966725
*/
function materio_user_block_view_user_login_block_alter(array &$build, BlockPluginInterface $block) {
$build['#pre_render'][] = '_materio_user_user_login_block_pre_render';
// $build['#pre_render'][] = '_materio_user_user_login_block_pre_render';
$build['#pre_render'][] = [MaterioUserLoginBlockAlterRender::class, 'preRender'];
}
function _materio_user_user_login_block_pre_render(array $build){