Skip to content
Snippets Groups Projects

Add gitlab CI

Merged Lara requested to merge gitlab-ci into 1.0.x
Files
13
@@ -175,14 +175,14 @@ class RegexRedirect extends ContentEntityBase {
return $source->getValue()['path'];
}
/**
* Gets the source base URL.
*
* @return string
* Regex redirect source url.
*
* @throws \Drupal\Core\TypedData\Exception\MissingDataException
*/
/**
* Gets the source base URL.
*
* @return string
* Regex redirect source url.
*
* @throws \Drupal\Core\TypedData\Exception\MissingDataException
*/
public function getSourceUrl() {
$source = $this->get('regex_redirect_source')->first();
if ($source === NULL) {
@@ -191,7 +191,6 @@ class RegexRedirect extends ContentEntityBase {
return $source->getUrl()->toString();
}
/**
* Sets the redirect destination URL data without any query.
*
Loading