Commit cd552c0d authored by Urvashi Vora's avatar Urvashi Vora Committed by Neslee Canil Pinto
Browse files

Issue #3291607 by urvashi_vora, Rakhi Soni: Drupal Coding Standard As Per Phpcs --standard=drupal

parent 4d3b5a20
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -7,4 +7,3 @@ role_theme_switcher.role_theme_switcher_admin_settings:
    _permission: 'administer themes'
  options:
    _admin_route: TRUE
+0 −2
Original line number Diff line number Diff line
@@ -4,5 +4,3 @@ services:
    arguments: ['@config.factory', '@current_user', '@router.admin_context']
    tags:
      - { name: theme_negotiator, priority: -30 }

+0 −7
Original line number Diff line number Diff line
@@ -129,13 +129,6 @@ class AdminSettingsForm extends ConfigFormBase {
    return parent::buildForm($form, $form_state);
  }

  /**
   * {@inheritdoc}
   */
  public function validateForm(array &$form, FormStateInterface $form_state) {
    parent::validateForm($form, $form_state);
  }

  /**
   * {@inheritdoc}
   */
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Theme\ThemeNegotiatorInterface;

/**
 * Class RoleThemeSwitcherNegotiator.
 * Implementation of Negotiator for Role Theme Switcher.
 */
class RoleThemeSwitcherNegotiator implements ThemeNegotiatorInterface {

+1 −1

File changed.

Contains only whitespace changes.