This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deci ar fi cam asa: | |
ai avea de adaugat o clasa intr-un modul custom numita <nume_modul>ServiceProvider | |
care sa extinda ServiceProviderBase, asta ar trebui sa stea in folderul src. | |
e.g. daca numele modulului e xxx_yyy, atunci clasa ar trebui sa fie XxxYyyServiceProvider | |
===================== | |
namespace Drupal\xxx_yyy; | |
use Drupal\Core\DependencyInjection\ContainerBuilder; |