Search for nodes

  1. Search 7.x for nodes
  2. Search 9.5.x for nodes
  3. Search 8.9.x for nodes
  4. Search 11.x for nodes
  5. Other projects
Title Object type File name Summary
NodeSearch::buildConfigurationForm function core/modules/node/src/Plugin/Search/NodeSearch.php Form constructor.
NodeSearch::buildSearchUrlQuery function core/modules/node/src/Plugin/Search/NodeSearch.php Builds the URL GET query parameters array for search.
NodeSearch::create function core/modules/node/src/Plugin/Search/NodeSearch.php Creates an instance of the plugin.
NodeSearch::defaultConfiguration function core/modules/node/src/Plugin/Search/NodeSearch.php Gets default configuration for this plugin.
NodeSearch::execute function core/modules/node/src/Plugin/Search/NodeSearch.php Executes the search.
NodeSearch::findResults function core/modules/node/src/Plugin/Search/NodeSearch.php Queries to find search results, and sets status messages.
NodeSearch::getRankings function core/modules/node/src/Plugin/Search/NodeSearch.php Gathers ranking definitions from hook_ranking().
NodeSearch::getType function core/modules/node/src/Plugin/Search/NodeSearch.php Returns the search index type this plugin uses.
NodeSearch::indexClear function core/modules/node/src/Plugin/Search/NodeSearch.php Clears the search index for this plugin.
NodeSearch::indexNode function core/modules/node/src/Plugin/Search/NodeSearch.php Indexes a single node.
NodeSearch::indexStatus function core/modules/node/src/Plugin/Search/NodeSearch.php Reports the status of indexing.
NodeSearch::isSearchExecutable function core/modules/node/src/Plugin/Search/NodeSearch.php Verifies if the values set via setSearch() are valid and sufficient.
NodeSearch::markForReindex function core/modules/node/src/Plugin/Search/NodeSearch.php Marks the search index for reindexing for this plugin.
NodeSearch::parseAdvancedDefaults function core/modules/node/src/Plugin/Search/NodeSearch.php Parses the advanced search form default values.
NodeSearch::prepareResults function core/modules/node/src/Plugin/Search/NodeSearch.php Prepares search results for rendering.
NodeSearch::removeSubmittedInfo function core/modules/node/src/Plugin/Search/NodeSearch.php Removes the submitted by information from the build array.
NodeSearch::searchFormAlter function core/modules/node/src/Plugin/Search/NodeSearch.php Alters the search form when being built for a given plugin.
NodeSearch::submitConfigurationForm function core/modules/node/src/Plugin/Search/NodeSearch.php Form submission handler.
NodeSearch::trustedCallbacks function core/modules/node/src/Plugin/Search/NodeSearch.php Lists the trusted callbacks provided by the implementing class.
NodeSearch::updateIndex function core/modules/node/src/Plugin/Search/NodeSearch.php Updates the search index for this plugin.
NodeSearch::__construct function core/modules/node/src/Plugin/Search/NodeSearch.php Constructs a \Drupal\node\Plugin\Search\NodeSearch object.
NodeSelection class core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php Provides specific access control for the node entity type.
NodeSelection.php file core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php
NodeSelection::buildEntityQuery function core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php Builds an EntityQuery to get referenceable entities.
NodeSelection::createNewEntity function core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php Creates a new entity object that can be used as a valid reference.
NodeSelection::validateReferenceableNewEntities function core/modules/node/src/Plugin/EntityReferenceSelection/NodeSelection.php Validates which newly created entities can be referenced.
NodeServiceProvider class core/modules/node/src/NodeServiceProvider.php Registers services in the container.
NodeServiceProvider.php file core/modules/node/src/NodeServiceProvider.php
NodeServiceProvider::register function core/modules/node/src/NodeServiceProvider.php Registers services to the container.
NodeStatisticsDatabaseStorage class core/modules/statistics/src/NodeStatisticsDatabaseStorage.php Provides the default database storage backend for statistics.
NodeStatisticsDatabaseStorage.php file core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::$connection property core/modules/statistics/src/NodeStatisticsDatabaseStorage.php The database connection used.
NodeStatisticsDatabaseStorage::$requestStack property core/modules/statistics/src/NodeStatisticsDatabaseStorage.php The request stack.
NodeStatisticsDatabaseStorage::$state property core/modules/statistics/src/NodeStatisticsDatabaseStorage.php The state service.
NodeStatisticsDatabaseStorage::deleteViews function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::fetchAll function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::fetchView function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::fetchViews function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::getRequestTime function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php Get current request time.
NodeStatisticsDatabaseStorage::maxTotalCount function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::recordView function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::resetDayCount function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::__construct function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php Constructs the statistics storage.
NodeStorage class core/modules/node/src/NodeStorage.php Defines the storage handler class for nodes.
NodeStorage.php file core/modules/node/src/NodeStorage.php
NodeStorage::clearRevisionsLanguage function core/modules/node/src/NodeStorage.php Unsets the language for all nodes with the given language.
NodeStorage::countDefaultLanguageRevisions function core/modules/node/src/NodeStorage.php Counts the number of revisions in the default language.
NodeStorage::revisionIds function core/modules/node/src/NodeStorage.php Gets a list of node revision IDs for a specific node.
NodeStorage::updateType function core/modules/node/src/NodeStorage.php Updates all nodes of one type to be of another type.
NodeStorage::userRevisionIds function core/modules/node/src/NodeStorage.php Gets a list of revision IDs having a given user as node author.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.