public static ResourceKey toResourceKey(final DescriptorKey key) { return ResourceKey.from( key.getApplicationKey(), "site/layouts/" + key.getName() + "/" + key.getName() + ".xml"); }
@Override public ResourceKey getComponentPath() { final DescriptorKey key = this.getKey(); return ResourceKey.from(key.getApplicationKey(), "site/layouts/" + key.getName()); }