Commit 6031d0bb authored by alexpott's avatar alexpott

Issue #2384527 by tadityar, areke, rpayanm, preshetin: Make the class...

Issue #2384527 by tadityar, areke, rpayanm, preshetin: Make the class variables protected for ShortcutSet
parent 1ffac675
......@@ -227,7 +227,7 @@ function shortcut_default_set($account = NULL) {
function shortcut_set_title_exists($title) {
$sets = ShortcutSet::loadMultiple();
foreach ($sets as $set) {
if ($set->label == $title) {
if ($set->label() == $title) {
return TRUE;
}
}
......
......@@ -49,14 +49,14 @@ class ShortcutSet extends ConfigEntityBase implements ShortcutSetInterface {
*
* @var string
*/
public $id;
protected $id;
/**
* The human-readable name of the configuration entity.
*
* @var string
*/
public $label;
protected $label;
/**
* {@inheritdoc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment