Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are namespaces? How to use in drupal 8?



What are namespaces? How to use in drupal 8?..

Answer / Syed Azeem Arshad

Namespaces are a way of organizing code to avoid naming conflicts. In Drupal 8, you can use namespaces for custom modules and themes. To use namespaces, first define them in your module's or theme's .info.yml file. Then, when referring to classes, functions, or other items within your namespace, prefix them with the namespace name followed by a backslash ().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Drupal Interview Questions

How often does drupal update?

1 Answers  


Explain roles, user and permissions?

1 Answers  


What is the use of taxonomy and vocabulary in drupal?

1 Answers  


How will do the core upgrade in drupal?

1 Answers  


Why do you think drupal is powerful & popular cms compare to others?

1 Answers  


What is responsive theme?

1 Answers  


what Drupal distributions is and when to use?

1 Answers  


How cache_form table works?

1 Answers  


What is Multilingual content?

1 Answers  


What do you mean by hooks in drupal?

1 Answers  


How can you comment on the scalability factor of the drupal?

1 Answers  


How to update the drupal?

1 Answers  


Categories