-
- /**
- * {@inheritdoc}
- */
- public function enterScope($name) {
- if ('request' !== $name) {
- @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
- }
-
- throw new \BadMethodCallException(sprintf("'%s' is not supported by Drupal 8.", __FUNCTION__));
- }
-
- /**
- * {@inheritdoc}
- */
- public function leaveScope($name) {
- if ('request' !== $name) {
- @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
- }
-
- throw new \BadMethodCallException(sprintf("'%s' is not supported by Drupal 8.", __FUNCTION__));
- }
-
- /**
- * {@inheritdoc}
- */
- public function addScope(ScopeInterface $scope) {
-
- $name = $scope->getName();
- if ('request' !== $name) {
- @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
- }
- throw new \BadMethodCallException(sprintf("'%s' is not supported by Drupal 8.", __FUNCTION__));
- }
-
- /**
- * {@inheritdoc}
- */
- public function hasScope($name) {
- if ('request' !== $name) {
- @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
- }
-
- throw new \BadMethodCallException(sprintf("'%s' is not supported by Drupal 8.", __FUNCTION__));
- }
-
- /**
- * {@inheritdoc}
- */
- public function isScopeActive($name) {
- @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
-
- throw new \BadMethodCallException(sprintf("'%s' is not supported by Drupal 8.", __FUNCTION__));
- }
-