Verbatim mirror of the repository for Drupal core. Changes will not be pulled, and merge requests will not be accepted, if you want to contribute, go to
PHP JavaScript HTML CSS Other
Latest commit 59b4509 Feb 23, 2017 @xjm xjm Issue #2854926 by xjm, himanshu-dixit, borisson_, boaloysius, alexpot…
…t: Remove unneeded control structures in ContentEntityBase
Failed to load latest commit information.
core Issue #2854926 by xjm, himanshu-dixit, borisson_, boaloysius, alexpot… Feb 23, 2017
modules Issue #2532148 by timmillwood, davidwbarratt: Modules cannot be put i… Jul 27, 2015
profiles Issue #2568439 by anchal29, hussainweb,, r_sharma08, drupa… Dec 23, 2015
sites Issue #2248983 by hchonov, amateescu, paranojik, timmillwood, tstoeck… Feb 23, 2017
themes Issue #2115737 by darol100, rhuffstedtler, andythomnz, jemandy, ijf80… Jun 2, 2015
.csslintrc Issue #2222049 by LewisNyman, Michael Hodge Jr, sqndr: Add a .csslint… Sep 8, 2014
.editorconfig Issue #2654894 by felribeiro, webflo: Use an indent of 4 spaces for c… Feb 2, 2016
.eslintignore Issue #2809343 by drpal, droplet, nod_: Add ESLint to package.json Oct 23, 2016
.eslintrc.json Issue #2809343 by drpal, droplet, nod_: Add ESLint to package.json Oct 23, 2016
.gitattributes Issue #2333243 by kenorb, alexpott, ztl8702, scor, Jon@s, ultimike, m… Jul 19, 2016
.htaccess Issue #2408321 by mfb, sanduhrs, D34dMan, C_Logemann, xumepadismal, J… Feb 9, 2017
README.txt Issue #2707095 by rbp, xjm: Add back serial comma in README.txt Apr 16, 2016
autoload.php Issue #2380389 by webflo, Mile23, davidwbarratt, timmillwood, hussain… Sep 30, 2015
composer.json Issue #2758737 by Mixologic, amateescu, ndf, webflo, Mile23, bojanz: … Feb 9, 2017
composer.lock Issue #2803779 by pfrenssen, klausi, Mile23, alexpott, dawehner: Upda… Feb 11, 2017
example.gitignore Issue #2725541 by gargsuchi: Add phpcs.xml and phpunit.xml into the e… May 19, 2016
index.php Issue #2389811 by znerol, mpdonadio, alexpott, hussainweb, neclimdul:… Jun 3, 2015
robots.txt Issue #2364343 by damien_vancouver, criz, ksenzee, joegraduate, Neogr… Feb 29, 2016
update.php Issue #2828559 by tacituseu, alexpott, mpdonadio, amateescu, hchonov,… Jan 10, 2017
web.config Issue #2783079 by david_garcia, alexpott: DRUPAL-SA-CORE-2016-003 Com… Sep 22, 2016



 * About Drupal
 * Configuration and features
 * Installation profiles
 * Appearance
 * Developing for Drupal
 * More information


Drupal is an open source content management platform supporting a variety of
websites ranging from personal weblogs to large community-driven websites. For
more information, see the Drupal website at, and join
the Drupal community at

Legal information about Drupal:
 * Know your rights when using Drupal:
   See LICENSE.txt in the "core" directory.
 * Learn about the Drupal trademark and logo policy:


Drupal core (what you get when you download and extract a drupal-x.y.tar.gz or file from has what you
need to get started with your website. It includes several modules (extensions
that add functionality) for common website features, such as managing content,
user accounts, image uploading, and search. Core comes with many options that
allow site-specific configuration. In addition to the core modules, there are
thousands of contributed modules (for functionality not included with Drupal
core) available for download.

More about configuration:
 * Install, update, and maintain Drupal:
   See INSTALL.txt and UPDATE.txt in the "core" directory.
 * Learn about how to use Drupal to create your site:
 * Follow best practices:
 * Download contributed modules to /modules to extend Drupal's functionality:
 * See also: "Developing for Drupal" for writing your own modules, below.


Installation profiles define additional steps (such as enabling modules,
defining content types, etc.) that run after the base installation provided
by core when Drupal is first installed. There are two basic installation
profiles provided with Drupal core.

Installation profiles from the Drupal community modify the installation process
to provide a website for a specific use case, such as a CMS for media
publishers, a web-based project tracking tool, or a full-fledged CRM for
non-profit organizations raising money and accepting donations. They can be
distributed as bare installation profiles or as "distributions". Distributions
include Drupal core, the installation profile, and all other required
extensions, such as contributed and custom modules, themes, and third-party
libraries. Bare installation profiles require you to download Drupal Core and
the required extensions separately; place the downloaded profile in the
/profiles directory before you start the installation process.

More about installation profiles and distributions:
 * Read about the difference between installation profiles and distributions:
 * Download contributed installation profiles and distributions:
 * Develop your own installation profile or distribution:


In Drupal, the appearance of your site is set by the theme (themes are
extensions that set fonts, colors, and layout). Drupal core comes with several
themes. More themes are available for download, and you can also create your own
custom theme.

More about themes:
 * Download contributed themes to /themes to modify Drupal's appearance:
 * Develop your own theme:


Drupal contains an extensive API that allows you to add to and modify the
functionality of your site. The API consists of "hooks", which allow modules to
react to system events and customize Drupal's behavior, and functions that
standardize common operations such as database queries and form generation. The
flexible hook architecture means that you should never need to directly modify
the files that come with Drupal core to achieve the functionality you want;
instead, functionality modifications take the form of modules.

When you need new functionality for your Drupal site, search for existing
contributed modules. If you find a module that matches except for a bug or an
additional needed feature, change the module and contribute your improvements
back to the project in the form of a "patch". Create new custom modules only
when nothing existing comes close to what you need.

More about developing:
 * Search for existing contributed modules:
 * Contribute a patch:
 * Develop your own module:
 * Follow programming best practices:
 * Refer to the API documentation:
 * Learn from documented Drupal API examples:


 * See the online documentation:

 * For a list of security announcements, see the "Security advisories" page at (available as an RSS feed). This page also
   describes how to subscribe to these announcements via email.

 * For information about the Drupal security process, or to find out how to
   report a potential security issue to the Drupal security team, see the
   "Security team" page at

 * For information about the wide range of available support options, visit and click on Community and Support in the top or
   bottom navigation.