public function ExcludeNodeTitleManager::isSearchExcluded in Exclude Node Title 8
Checks if exclude from Search elements is enabled.
Return value
bool Enabled status.
Overrides ExcludeNodeTitleManagerInterface::isSearchExcluded
File
- src/
ExcludeNodeTitleManager.php, line 150
Class
- ExcludeNodeTitleManager
- Service class for Exclude Node Title module settings management.
Namespace
Drupal\exclude_node_titleCode
public function isSearchExcluded() {
return !empty($this->settingsConfig
->get('search'));
}