Composer https://michalak.world/ en Drupal 8 Configuration Synchronization https://michalak.world/article/drupal-8-configuration-synchronization <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Drupal 8 Configuration Synchronization </span> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/u/1" typeof="schema:Person" property="schema:name" datatype="">useradmin</span></span> <span property="schema:dateCreated" content="2019-04-29T12:20:19+00:00" class="field field--name-created field--type-created field--label-hidden">Mon, 04/29/2019 - 07:20</span> <div class="field field--name-field-image field--type-image field--label-above"> <div class="field__label">Image</div> <div class="field__item"> <img src="/sites/default/files/default_images/michalak-dcd.png" width="2600" height="1600" alt="Michalak Drupal Commerce Developer" title="Michalak Drupal Commerce Developer" typeof="foaf:Image" /> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-above"> <div class="field__label">Body</div> <div property="schema:text" class="field__item"><h2>Configuration Synchronization</h2> <p>Drupal 8 has a really great configuration synchronization system, and is great for syncing up different environments.  When creating new modules and adding new fuctionality I really enjoy working with Drupal 8's configuration synchronization tool.  Not only does this tool take the guesswork out of updates that need to be made on other environments.  The configuration synchronization also allows for all changes to be documented.  </p> <h2>New Modules and New Functionality</h2> <p>The Drupal 8 content synchronization tool paired with Drupal 8's update hooks are great ways to make all of the new changes portable and documented.  I have adopted this methodology when moving out changes from environment to environment.  Pairing this methodology with a deployment guide and taking out all of the guesswork of what needs to be updated.</p> <h2>Uses for Configuration Synchronization </h2> <p>Types of changes that Drupal 8's configuration synchronization tool are good for: </p> <ul><li>Block Configuration</li> <li>New Content Types</li> <li>Updating Content Types</li> <li>Adding New Fields to Entities</li> <li>Adding or Updating Views</li> <li>Etc.</li> </ul><h2>Conclusion</h2> <p>But I also have a love-hate relationship.  When an installation of a modules gets conflicted with the synchronization then there are headaches, but overall the configuration synchronization is really great.  Once they are worked through then all the headaches are eliminated, usually, just need to rework the install() and uninstall() hooks for the module.</p></div> </div> <section rel="schema:comment" class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=69&amp;2=comment&amp;3=comment" token="IQxni0p78o9ZSEWkihFEC7fFRbIcXcDos4BQLuUqJuM"></drupal-render-placeholder> </section> <div class="field field--name-field-tags field--type-entity-reference field--label-above clearfix"> <h3 class="field__label">Tags</h3> <ul class="links field__items"> <li property="schema:about" resource="/tag/api"><div about="/tag/api" typeof="schema:Thing" id="taxonomy-term-22" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/api"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">API</div> </a></h2> <span property="schema:name" content="API" class="rdf-meta hidden"></span> <div class="content"> <div property="schema:description" class="clearfix text-formatted field field--name-description field--type-text-long field--label-hidden field__item"><p>API</p></div> </div> </div> </li> <li property="schema:about" resource="/tag/composer"><div about="/tag/composer" typeof="schema:Thing" id="taxonomy-term-15" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/composer"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Composer</div> </a></h2> <span property="schema:name" content="Composer" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> <li property="schema:about" resource="/tag/drupal"><div about="/tag/drupal" typeof="schema:Thing" id="taxonomy-term-2" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/drupal"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Drupal</div> </a></h2> <span property="schema:name" content="Drupal" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> <li property="schema:about" resource="/tag/drupal-8"><div about="/tag/drupal-8" typeof="schema:Thing" id="taxonomy-term-11" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/drupal-8"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Drupal 8</div> </a></h2> <span property="schema:name" content="Drupal 8" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> <li property="schema:about" resource="/tag/drupal-commerce"><div about="/tag/drupal-commerce" typeof="schema:Thing" id="taxonomy-term-4" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/drupal-commerce"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Drupal Commerce</div> </a></h2> <span property="schema:name" content="Drupal Commerce" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> <li property="schema:about" resource="/tag/drupal-development"><div about="/tag/drupal-development" typeof="schema:Thing" id="taxonomy-term-3" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/drupal-development"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Drupal Development</div> </a></h2> <span property="schema:name" content="Drupal Development" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> <li property="schema:about" resource="/tag/update"><div about="/tag/update" typeof="schema:Thing" id="taxonomy-term-10" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/update"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Update</div> </a></h2> <span property="schema:name" content="Update" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> </ul> </div> Mon, 29 Apr 2019 12:20:19 +0000 useradmin 69 at https://michalak.world Drupal Development https://michalak.world/video/drupal-development <span class="field field--name-title field--type-string field--label-hidden">Drupal Development</span> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/u/1" typeof="schema:Person" property="schema:name" datatype="">useradmin</span></span> <span class="field field--name-created field--type-created field--label-hidden">Sun, 04/21/2019 - 15:49</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I am a Drupal developer specializing in Backend Drupal Development and Drupal Commerce Development.</p></div> <div class="field field--name-field-video field--type-video-embed-field field--label-hidden field__item"><div data-video-embed-field-lazy="&lt;div class=&quot;video-embed-field-provider-youtube video-embed-field-responsive-video&quot;&gt;&lt;iframe width=&quot;854&quot; height=&quot;480&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;allowfullscreen&quot; src=&quot;https://www.youtube.com/embed/tEojZwF0LBo?autoplay=0&amp;amp;start=0&amp;amp;rel=0&quot;&gt;&lt;/iframe&gt; &lt;/div&gt; " class="video-embed-field-lazy"><a href="/video/drupal-development" hreflang="en"><img src="/sites/default/files/video_thumbnails/tEojZwF0LBo.jpg" alt="" typeof="foaf:Image" /> </a><button class="video-embed-field-lazy-play"></button> </div> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-above clearfix"> <h3 class="field__label">Tags</h3> <ul class="links field__items"> <li><a href="/tag/api" hreflang="en">API</a></li> <li><a href="/tag/commerce-shipping" hreflang="en">Commerce Shipping</a></li> <li><a href="/tag/composer" hreflang="en">Composer</a></li> <li><a href="/tag/drupal" hreflang="en">Drupal</a></li> <li><a href="/tag/drupal-7" hreflang="en">Drupal 7</a></li> <li><a href="/tag/drupal-8" hreflang="en">Drupal 8</a></li> <li><a href="/tag/drupal-commerce" hreflang="en">Drupal Commerce</a></li> <li><a href="/tag/drupal-development" hreflang="en">Drupal Development</a></li> <li><a href="/tag/drupal-performance" hreflang="en">Drupal Performance</a></li> <li><a href="/tag/form-api" hreflang="en">Form API</a></li> <li><a href="/tag/integration" hreflang="en">Integration</a></li> <li><a href="/tag/payment-gateway" hreflang="en">Payment Gateway</a></li> <li><a href="/tag/purchase-orders" hreflang="en">Purchase Orders</a></li> <li><a href="/tag/rest-api" hreflang="en">REST API</a></li> <li><a href="/tag/security" hreflang="en">Security</a></li> <li><a href="/tag/update" hreflang="en">Update</a></li> <li><a href="/tag/video" hreflang="en">Video</a></li> <li><a href="/tag/warehouse-mangement" hreflang="en">Warehouse Mangement</a></li> </ul> </div> Sun, 21 Apr 2019 20:49:23 +0000 useradmin 67 at https://michalak.world Drupal 8: Applying Patches with Composer https://michalak.world/article/drupal-8-applying-patches-composer <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Drupal 8: Applying Patches with Composer</span> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/u/1" typeof="schema:Person" property="schema:name" datatype="">useradmin</span></span> <span property="schema:dateCreated" content="2019-03-14T05:12:58+00:00" class="field field--name-created field--type-created field--label-hidden">Thu, 03/14/2019 - 00:12</span> <div class="field field--name-field-image field--type-image field--label-above"> <div class="field__label">Image</div> <div class="field__item"> <img src="/sites/default/files/default_images/michalak-dcd.png" width="2600" height="1600" alt="Michalak Drupal Commerce Developer" title="Michalak Drupal Commerce Developer" typeof="foaf:Image" /> </div> </div> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-above"> <div class="field__label">Body</div> <div property="schema:text" class="field__item"><p>How to apply and manage patches with composer. </p> <p>First add the library 'cweagans/composer-patches' to your composer.json</p> <p>Then under installer-paths in your composer.json add "patches".  "Patches" is then organized by modules.  Here is an example: </p> <pre> "installer-paths": { }, "patches": { "drupal/commerce_shipping": { "Commerce Shipping - Deleted Profile Error": "https://www.drupal.org/files/issues/2018-06-15/commerce_shipping-deleted-profile-error-2969540-6.patch", "Patch Label": "https://path-to-patch' } }</pre> </div> </div> <section rel="schema:comment" class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=46&amp;2=comment&amp;3=comment" token="1CsLY6EmpnPq8TKI-MhZ_pU-u8ONRR3gPPUD5HDstV4"></drupal-render-placeholder> </section> <div class="field field--name-field-tags field--type-entity-reference field--label-above clearfix"> <h3 class="field__label">Tags</h3> <ul class="links field__items"> <li property="schema:about" resource="/tag/composer"><div about="/tag/composer" typeof="schema:Thing" id="taxonomy-term-15" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/composer"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Composer</div> </a></h2> <span property="schema:name" content="Composer" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> <li property="schema:about" resource="/tag/drupal"><div about="/tag/drupal" typeof="schema:Thing" id="taxonomy-term-2" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/drupal"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Drupal</div> </a></h2> <span property="schema:name" content="Drupal" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> <li property="schema:about" resource="/tag/drupal-8"><div about="/tag/drupal-8" typeof="schema:Thing" id="taxonomy-term-11" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/drupal-8"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Drupal 8</div> </a></h2> <span property="schema:name" content="Drupal 8" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> <li property="schema:about" resource="/tag/drupal-development"><div about="/tag/drupal-development" typeof="schema:Thing" id="taxonomy-term-3" class="taxonomy-term vocabulary-tags"> <h2><a href="/tag/drupal-development"> <div property="schema:name" class="field field--name-name field--type-string field--label-hidden field__item">Drupal Development</div> </a></h2> <span property="schema:name" content="Drupal Development" class="rdf-meta hidden"></span> <div class="content"> </div> </div> </li> </ul> </div> Thu, 14 Mar 2019 05:12:58 +0000 useradmin 46 at https://michalak.world