This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function riasset_get_dir() { | |
if [ "$1" == "" ]; then | |
echo $(pwd) | |
else | |
echo $(cd "${1}"; pwd) | |
fi | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* {@inheritdoc} | |
*/ | |
public function __construct($definition) { | |
// Only new instances should provide the required revision metadata keys. | |
// The cached instances should return only what already has been stored | |
// under the property $revision_metadata_keys. | |
$this->requiredRevisionMetadataKeys += [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public getRevisionDefaultMetadataKey($bc = FALSE) { | |
$revision_metadata_keys = $this->getRevisionMetadataKeys($bc); | |
return isset($revision_metadata_keys['revision_default']) ? $revision_metadata_keys['revision_default'] : 'revision_default'; | |
} |