Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html_old/abg/web/core/modules/node/src/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html_old/abg/web/core/modules/node/src/NodeServiceProvider.php

<?php

namespace Drupal\node;

use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderInterface;
use Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber;
use Drupal\node\EventSubscriber\NodeTranslationMigrateSubscriber;
use Symfony\Component\DependencyInjection\Reference;

/**
 * Registers services in the container.
 */
class NodeServiceProvider implements ServiceProviderInterface {

  /**
   * {@inheritdoc}
   */
  public function register(ContainerBuilder $container) {
    // Register the node.node_translation_migrate service in the container if
    // the migrate and language modules are enabled.
    $modules = $container->getParameter('container.modules');
    if (isset($modules['migrate']) && isset($modules['language'])) {
      $container->register('node.node_translation_migrate', NodeTranslationMigrateSubscriber::class)
        ->addTag('event_subscriber')
        ->addArgument(new Reference('keyvalue'))
        ->addArgument(new Reference('state'));
    }

    // Register the node.node_translation_exception service in the container if
    // the language module is enabled.
    if (isset($modules['language'])) {
      $container->register('node.node_translation_exception', NodeTranslationExceptionSubscriber::class)
        ->addTag('event_subscriber')
        ->addArgument(new Reference('keyvalue'))
        ->addArgument(new Reference('language_manager'))
        ->addArgument(new Reference('url_generator'))
        ->addArgument(new Reference('state'));
    }
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net