projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f2e37eee2abcaa94ee0cf372c369c591e71bcfd9
[yaffs-website]
/
vendor
/
drupal
/
console
/
src
/
Command
/
Shared
/
TranslationTrait.php
1
<?php
2
3
/**
4
* @file
5
* Contains Drupal\Console\Command\Shared\TranslationTrait.
6
*/
7
8
namespace Drupal\Console\Command\Shared;
9
10
trait TranslationTrait
11
{
12
/**
13
* @param string $value
14
*
15
* @return mixed
16
*/
17
protected function isYamlKey($value)
18
{
19
if (!strstr($value, ' ') && strstr($value, '.')) {
20
return true;
21
}
22
23
return false;
24
}
25
}