You are here

public function MigrateSourceJSON::activeUrl in Migrate 7.2

Returns the active Url.

Return value

string

File

plugins/sources/json.inc, line 520
Support for migration from JSON sources.

Class

MigrateSourceJSON
Implementation of MigrateSource, to handle imports from stand-alone JSON files.

Code

public function activeUrl() {
  if (isset($this->activeUrl)) {
    return $this->sourceUrls[$this->activeUrl];
  }
}