code: public void registerContentDefinition(CmsContentDefinition definition) {
  
          m_widgetService.addConfigurations(definition.getConfigurations());
          CmsType baseType = definition.getTypes().get(definition.getEntityTypeName());
          m_entityBackend.registerTypes(baseType, definition.getTypes());
          m_entityBackend.registerEntity(definition.getEntity());
      }
docs: Registers the types and entities of the given content definition.<p>
  
  @param definition the content definition