Wednesday, February 13, 2019

Drupal 8 Interview questions


  1. What are the custom entities? When and how it can be used?https://opensenselabs.com/blog/tech/how-create-custom-entity-drupal-8
  2. How to create a patch?
  3. Mysql rollback to flag
  4. What are cache tags in Drupal 8?
    https://www.drupal.org/docs/8/api/cache-api/cache-tags
  5. How to create a module using Drupal console?
  6. How to deploy code - Acquia
  7. Custom entities into the single table
  8. Why we need an interface?
    An interface allows unrelated classes to implement the same set of methods, regardless of their positions in the class inheritance hierarchy. An interface enables you to model multiple inheritances because a class can implement more than one interface whereas it can extend only one class.
  9. How to pass the interface variable in the constructor
  10. How to make a string to upper case in Twig
    To make a string in upper case use filter 'upper'
    {{ 'a string'|upper }}
  11. How to create a custom pipe.
    https://symfony.com/doc/current/templating/twig_extension.html
  12. What happens behind when the twig filter used?

No comments:

Post a Comment