Creating a Resource Type, Part 2: Creating Documents

Adding the Menu

Now we'll add the menu for our module. The first item we need will trigger
the usecase to create new person documents. The menu XML is located at
$MODULE_HOME/config/menu.xml. Note that we're using the i18n
message for the resource type label which we added in the previous section: