You are here

upgrade-info.html in MultiBlock 8

Blocks
Blocks are now plugins in the MODULE\Plugin\Block namespace.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 28
Blocks are now plugins in the MODULE\Plugin\Block namespace.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 59
Blocks are now plugins in the MODULE\Plugin\Block namespace.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 52
Blocks are now plugins in the MODULE\Plugin\Block namespace.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 45
Database
drupal_write_record() has been removed.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 255
Form API
drupal_get_form() has moved into the FormBuilder service.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 153
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 157
form_set_error() is now a method of FormStateInterface.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 292
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 299
Info File
Module info files' core key must have a value of 8.x.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.info
Info files must contain a type key.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.info
Many common dependencies have moved into core.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.info
Menu/Routing
hook_menu() has been removed from Drupal 8.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 3
Miscellaneous
Many common functions, shared variables, and constants have been renamed.
Documentation
System
l() has been removed.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 390
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 391
module_invoke() is now a method of the module_handler service.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 132
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 298
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 331
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 361
Theme System
theme() has been renamed to _theme(), and should never be called directly.
Documentation
Files Affected
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 163
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 402
  • /srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 412

File

upgrade-info.html
View source
<!DOCTYPE html>
<html>
  <head>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:600italic,400,700,600' rel='stylesheet' type='text/css' />
    <style type="text/css">
    <!--

body {
  width: 80%;
  color: #343434;
  margin: 1em auto;
  font-family: 'Open Sans', Verdana, sans-serif;
}

details {
  font-size: 18px;
  line-height: 25px;
  margin-bottom: 2em;
  display: block;
}

details summary {
  padding: 1em;
  margin-bottom: 1em;
  display: block;
}

details.error summary {
  background-color: #ffd5d5;
}

details.warning summary {
  background-color: #fff3bb;
}

a {
  color: #095cb1;
  font-weight: bold;
  text-decoration: none;
}

h5 {
  font-size: 1em;
}

aside {
  font-style: italic;
  line-height: 20px;
  font-size: 15px;
}

.group {
  border: 1px solid #ececec;
  padding: 1em;
  display: block;
}

.group > summary {
  padding: 0;
  color: #c8c8c8;
  margin-bottom: 0;;
  font-weight: bold;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: block;
}

.group[open] > summary {
  margin-bottom: 1em;
}

.group > details:last-child {
  margin-bottom: 0;
}

    -->
    </style>
  </head>
  <body>
      <details open="true" class="group">
      <summary>Blocks</summary>
          <details class="error">
      <summary>Blocks are now plugins in the <code>MODULE\Plugin\Block</code> namespace.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1880620">Blocks are now plugins</a></li>
                <li><a target="_blank" href="https://api.drupal.org/api/drupal/core%21modules%21block%21block.api.php/group/block_api/8">Drupal 8 Block API</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 28</li>
            </ul>
      
      <aside>Flagged by _flag_hook:block_info</aside>    </details>
    <details class="error">
      <summary>Blocks are now plugins in the <code>MODULE\Plugin\Block</code> namespace.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1880620">Blocks are now plugins</a></li>
                <li><a target="_blank" href="https://api.drupal.org/api/drupal/core%21modules%21block%21block.api.php/group/block_api/8">Drupal 8 Block API</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 59</li>
            </ul>
      
      <aside>Flagged by _flag_hook:block_configure</aside>    </details>
    <details class="error">
      <summary>Blocks are now plugins in the <code>MODULE\Plugin\Block</code> namespace.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1880620">Blocks are now plugins</a></li>
                <li><a target="_blank" href="https://api.drupal.org/api/drupal/core%21modules%21block%21block.api.php/group/block_api/8">Drupal 8 Block API</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 52</li>
            </ul>
      
      <aside>Flagged by _flag_hook:block_save</aside>    </details>
    <details class="error">
      <summary>Blocks are now plugins in the <code>MODULE\Plugin\Block</code> namespace.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1880620">Blocks are now plugins</a></li>
                <li><a target="_blank" href="https://api.drupal.org/api/drupal/core%21modules%21block%21block.api.php/group/block_api/8">Drupal 8 Block API</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 45</li>
            </ul>
      
      <aside>Flagged by _flag_hook:block_view</aside>    </details>

    </details>
      <details open="true" class="group">
      <summary>Database</summary>
          <details class="error">
      <summary><code>drupal_write_record()</code> has been removed.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/2340291"><code>drupal_write_record()</code> removed</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 255</li>
            </ul>
      
      <aside>Flagged by _function_call:drupal_write_record</aside>    </details>

    </details>
      <details open="true" class="group">
      <summary>Form API</summary>
          <details class="error">
      <summary><code>drupal_get_form()</code> has moved into the FormBuilder service.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/2121003">Form generation functions moved into FormBuilder service</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 153</li>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 157</li>
            </ul>
      
      <aside>Flagged by _function_call:drupal_get_form</aside>    </details>
    <details class="error">
      <summary><code>form_set_error()</code> is now a method of <code>FormStateInterface</code>.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/2121003">Form functions moved into <code>FormStateInterface</code></a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 292</li>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 299</li>
            </ul>
      
      <aside>Flagged by _function_call:form_set_error</aside>    </details>

    </details>
      <details open="true" class="group">
      <summary>Info File</summary>
          <details class="error">
      <summary>Module info files' <code>core</code> key must have a value of <code>8.x</code>.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1935708"><code>.info</code> files are now <code>.info.yml</code> files</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.info</li>
            </ul>
      
      <aside>Flagged by info</aside>    </details>
    <details class="error">
      <summary>Info files must contain a <code>type</code> key.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1935708#type"><code>.info</code> files are now <code>.info.yml</code> files</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.info</li>
            </ul>
      
      <aside>Flagged by info</aside>    </details>
    <details class="error">
      <summary>Many common dependencies have moved into core.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1935708"><code>.info</code> files are now <code>.info.yml</code> files</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.info</li>
            </ul>
      
      <aside>Flagged by info</aside>    </details>

    </details>
      <details open="true" class="group">
      <summary>Menu/Routing</summary>
          <details class="error">
      <summary><code>hook_menu()</code> has been removed from Drupal 8.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1800686">All functionality of <code>hook_menu()</code> replaced</a></li>
                <li><a target="_blank" href="https://www.drupal.org/node/2177901">Dynamic routes are now defined in <code>MODULE.routing.yml</code></a></li>
                <li><a target="_blank" href="https://www.drupal.org/node/2119699">Page callbacks have been converted to controller classes</a></li>
                <li><a target="_blank" href="https://www.drupal.org/node/2089605">Route naming convention</a></li>
                <li><a target="_blank" href="https://www.drupal.org/node/2165243">Contextual links are now plugins defined in <code>MODULE.links.contextual.yml</code></a></li>
                <li><a target="_blank" href="https://www.drupal.org/node/2007444">Local actions are now plugins defined in <code>MODULE.links.action.yml</code></a></li>
                <li><a target="_blank" href="https://www.drupal.org/node/2044515">Local tasks and now plugins defined in <code>MODULE.links.task.yml</code></a></li>
                <li><a target="_blank" href="https://www.drupal.org/node/2228089">Menu links are now defined in <code>MODULE.links.menu.yml</code></a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 3</li>
            </ul>
      
      <aside>Flagged by _flag_hook:menu</aside>    </details>

    </details>
      <details open="true" class="group">
      <summary>Miscellaneous</summary>
          <details class="warning">
      <summary>Many common functions, shared variables, and constants have been renamed.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/2324935">The global theme variables have been replaced by an ActiveTheme object</a></li>
              </ul>
      
      
          </details>

    </details>
      <details open="true" class="group">
      <summary>System</summary>
          <details class="error">
      <summary><code>l()</code> has been removed.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/2346779"><code>l()</code> replaced by URL generation API</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 390</li>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 391</li>
            </ul>
      
      <aside>Flagged by _function_call:l</aside>    </details>
    <details class="error">
      <summary><code>module_invoke()</code> is now a method of the <code>module_handler</code> service.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/1894902"><code>module_invoke()</code> replaced by <code>module_handler</code> service</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 132</li>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 298</li>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 331</li>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 361</li>
            </ul>
      
      <aside>Flagged by _function_call:module_invoke</aside>    </details>

    </details>
      <details open="true" class="group">
      <summary>Theme System</summary>
          <details class="error">
      <summary><code>theme()</code> has been renamed to <code>_theme()</code>, and should never be called directly.</summary>

      
            <h5>Documentation</h5>
      <ul>
                <li><a target="_blank" href="https://www.drupal.org/node/2195739"><code>theme()</code> renamed to <code>_theme()</code> and should not be called directly</a></li>
              </ul>
      
            <h5>Files Affected</h5>
      <ul>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 163</li>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 402</li>
              <li>/srv/www/drupal-8/public_html/modules/multiblock/multiblock.module, line 412</li>
            </ul>
      
      <aside>Flagged by _function_call:theme</aside>    </details>

    </details>
    </body>
</html>