function access_by_ref_get_config in Access by Reference 8.2
Same name and namespace in other branches
- 8 access_by_ref.module \access_by_ref_get_config()
1 call to access_by_ref_get_config()
File
- ./
access_by_ref.module, line 183
Code
function access_by_ref_get_config(NodeInterface $node) {
$entity = \Drupal::entityTypeManager()
->getStorage('abrconfig')
->loadByProperties(array(
'bundle' => $node
->bundle(),
));
return $entity;
}