public AliasStorage::save($source, $alias, $langcode = LanguageInterface::LANGCODE_NOT_SPECIFIED, $pid = NULL)
Saves a path alias to the database.
@thrown \InvalidArgumentException Thrown when either the source or alias has not a starting slash.
Parameters
string $source: The internal system path.
string $alias: The URL alias.
string $langcode: (optional) The language code of the alias.
int|null $pid: (optional) Unique path alias identifier.
Return value
array|false FALSE if the path could no