SU-SWS/stanford_migrate

View on GitHub
src/Plugin/migrate_plus/data_parser/StanfordSimpleXml.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Drupal\stanford_migrate\Plugin\migrate_plus\data_parser;

use Drupal\migrate_plus\Plugin\migrate_plus\data_parser\SimpleXml;

/**
 * Overrides the parent plugin to provide a method to get the active url.
 *
 * @package Drupal\stanford_migrate\Plugin\migrate_plus\data_parser
 * @deprecated in 8.4.3. Use SimpleXml instead.
 */
class StanfordSimpleXml extends SimpleXml {

  /**
   * Get the current active url string.
   *
   * @return string
   *   Url.
   *
   * @deprecated in 8.4.3 Use ::currentUrl() instead.
   */
  public function getCurrentUrl() {
    return $this->currentUrl();
  }

}