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 can you drop a table using module in drupal?

1 Answers  


what are the benefits of drupal?

1 Answers  


Explain the menu system in drupal? Purpose of menus?

1 Answers  


Is it possible to pass the dynamic values to views?

1 Answers  


What are the new features of drupal 8?

1 Answers  


What is drupal good for?

1 Answers  


For image slider which modules are required in drupal?

1 Answers  


What is composer drupal 8?

1 Answers  


How to move a drupal site from one host/server to another?

1 Answers  


What is the use of weight field while creating menu?

1 Answers  


Can we include one php file multiple times?

1 Answers  


What are contributed modules in drupal?

1 Answers  


Categories