Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
5 files
+ 1
160
Compare changes
  • Side-by-side
  • Inline
Files
5
  • 39726b6a
    Issue #3261244 by andypost, longwave: Remove deprecated layout_builder module functions · 39726b6a
    quietone authored
@@ -30,26 +30,6 @@ protected function contextRepository() {
return $this->contextRepository;
}
/**
* Provides all available contexts, both global and section_storage-specific.
*
* @param \Drupal\layout_builder\SectionStorageInterface $section_storage
* The section storage.
*
* @return \Drupal\Core\Plugin\Context\ContextInterface[]
* The array of context objects.
*
* @deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
* \Drupal\layout_builder\Context\LayoutBuilderContextTrait::getPopulatedContexts()
* instead.
*
* @see https://www.drupal.org/node/3195121
*/
protected function getAvailableContexts(SectionStorageInterface $section_storage) {
@trigger_error('\Drupal\layout_builder\Context\LayoutBuilderContextTrait::getAvailableContexts() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\layout_builder\Context\LayoutBuilderContextTrait::getPopulatedContexts() instead. See https://www.drupal.org/node/3195121', E_USER_DEPRECATED);
return self::getPopulatedContexts($section_storage);
}
/**
* Returns all populated contexts, both global and section-storage-specific.
*
Loading