Drupal Structure

Drupal Installation


Drupal can use MySQL, MariaDB, Percona Server


The host is localhost and using Port Number 3306 in its Advanced Options




The location of database, name of the database and the credentials to access the database are stored in the settings.php file which resides at sites/default folder of Drupal's default folder.


This is Drupal's First Page

We can configure Drupal's Structure, through Structure Menu



Block placement is specific to each theme on our site, We can change the region like Header/Primary Menu/Footer etc. and the Operations like Configure/Disable or remove that region


This is Configure block for Site Branding. We can add/remove Site Logo and other branding elements. Also can remove this block.  
Drupal core and countless modules always use themable functions and template files to output the presentation markup. "forking" happens. 


The index acts as the primary interface to modules outside of the Search API. 

  • Upon creation of the index, the item type is selected and stays the same over the entire lifetime of the index.
  • The choice of the other components associated with an index can be changed at any time.
  • A server represents a certain way of indexing data, consisting of the code implementing the functionality and settings provided by the user. 
  • Retrieving item metadata can be done with  'getFields()' method on the index
  • At First the datasource controller's "getChangedItems()" method is used to determine which items need to be indexed for a certain index and then "loadItems()" method runs.
  • To make a search, we need a "SearchApiQueryInterface" object by calling "search_api_query()". This also create a query object (similar to datbase select object) for it. The query is configured by using various Keys(), Parse Mode, Condition(), filter() methods with OR/AND operators etc. execute() method executes the query. 




-----------------------------------------------
Himakshi Chhatani

Comments

Post a Comment