Unverified Commit ca5a2b3a authored by Mark Halliwell's avatar Mark Halliwell
Browse files

Issue #3096963 by markcarver, heddn, Neslee Canil Pinto, akshay_d, Sahana _N,...


Issue #3096963 by markcarver, heddn, Neslee Canil Pinto, akshay_d, Sahana _N, sja112: Drupal 9 support

Signed-off-by: default avatarMark Carver <mark.carver@me.com>
parent c3ffd8ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
core: 8.x
core_version_requirement: ^8 || ^9
type: theme
base theme: false

+0 −1
Original line number Diff line number Diff line
@@ -170,4 +170,3 @@ drupal.vertical-tabs:
    - bootstrap/theme
    - core/jquery.once
    - core/drupal.form
    - core/matchmedia
+3 −0
Original line number Diff line number Diff line
@@ -26,5 +26,8 @@
    "issues": "https://www.drupal.org/project/issues/bootstrap",
    "irc": "irc://irc.freenode.org/drupal-bootstrap",
    "source": "https://git.drupalcode.org/project/bootstrap"
  },
  "require": {
    "drupal/core": "^8 || ^9"
  }
}
+13 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\bootstrap\BcSupport;

/**
 * Provides a blank interface for BC interfaces when no suitable one exists.
 *
 * @deprecated in bootstrap:8.x-3.22 and is removed from bootstrap:5.0.0.
 *   No replacement.
 * @see https://www.drupal.org/project/bootstrap/issues/3096963
 */
interface BcAliasedInterface {
}
+27 −0
Original line number Diff line number Diff line
<?php

namespace Drupal\bootstrap\BcSupport;

if (!interface_exists('\Drupal\Core\Security\TrustedCallbackInterface')) {
  /* @noinspection PhpIgnoredClassAliasDeclaration */
  class_alias('\Drupal\bootstrap\BcSupport\BcAliasedInterface', '\Drupal\Core\Security\TrustedCallbackInterface');
}

use Drupal\Core\Security\TrustedCallbackInterface as CoreTrustedCallbackInterface;

/**
 * Interface to declare trusted callbacks.
 *
 * @deprecated in bootstrap:8.x-3.22 and is removed from bootstrap:5.0.0.
 *   Use \Drupal\Core\Security\TrustedCallbackInterface instead.
 * @see https://www.drupal.org/project/bootstrap/issues/3096963
 * @see \Drupal\Core\Security\TrustedCallbackInterface
 */
interface TrustedCallbackInterface extends CoreTrustedCallbackInterface {

  /**
   * {@inheritdoc}
   */
  public static function trustedCallbacks();

}
Loading