public function EntityCloneSettingsManager::getHiddenValue in Entity Clone 8
Get the checkbox hidden value for a given entity type.
Parameters
string $entity_type_id: The entity type ID.
Return value
bool The hidden value.
File
- src/
EntityCloneSettingsManager.php, line 141
Class
- EntityCloneSettingsManager
- Manage entity clone configuration.
Namespace
Drupal\entity_cloneCode
public function getHiddenValue($entity_type_id) {
$form_settings = $this->config
->get('form_settings');
if (isset($form_settings[$entity_type_id]['hidden'])) {
return $form_settings[$entity_type_id]['hidden'];
}
return FALSE;
}